Email: Password: Remember Me | Create Account (Free)

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
10/08/09 10:36
Read: times


 
#169526 - Got It!!
Responding to: ???'s previous message
A silly mistake broke the compiler.

check this test code.

main()
{
        struct x {
                int a;
                int b;
        } p;
        p.a = 25;
        p.b = 35;
        printf("%x %x", p, p.b);
        while(1);
}


I was supposed to pass p.a instead of p. It was a typo.

Cheers,
Sarma


List of 13 messages in thread
TopicAuthorDate
SDCC Internal Error            01/01/70 00:00      
   No mention of a source line number for the input file?            01/01/70 00:00      
      NO            01/01/70 00:00      
   You have broken SDCC?            01/01/70 00:00      
      I've Searched SDCC forums            01/01/70 00:00      
         May be I am the first to see this.            01/01/70 00:00      
            2.6.0?            01/01/70 00:00      
               I tried with newest SDCC snapshot and submitted a bug            01/01/70 00:00      
                  Fixed            01/01/70 00:00      
                     That's service for you!            01/01/70 00:00      
   Got It!!            01/01/70 00:00      
      Just main() is ancient C            01/01/70 00:00      
   Isolate the code block, use cpp            01/01/70 00:00      

Back to Subject List