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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
12/16/10 17:03
Read: times


 
#180170 - Caveat
Responding to: ???'s previous message
Hi Jan,

thanks for your reply. Although I had to dig a bit more, it seems that by default SDCC sticks to the selected compiler standard. If C89 or C89 with SDCC extensions is selected, the keyword inline does not compile.

I added --std-sdcc99 to the sdcc call of my test program and functions were now properly inlined and no compiler error occured!

Thanks for indicating that I had to dig further down!

cheers,
Matthias

List of 5 messages in thread
TopicAuthorDate
SDCC vs keyword inline            01/01/70 00:00      
   supported since 2.7.0            01/01/70 00:00      
      Caveat            01/01/70 00:00      
         Isn't that obvious?            01/01/70 00:00      
            Embedded compilers hardly follow standards ny nature            01/01/70 00:00      

Back to Subject List