__STDC_VERSION__ not defined
Victor Aprea <[email protected]> Sat, 15 Apr 2017 13:15:44 -0400
| Newsgroups | gmane.comp.hardware.avr.gcc |
|---|---|
| Message-ID | <CAK+7h_Rm3e-LT5QF8QEFO1oCG-s4U7nPT2xBW3-3RMAD7uqBLA@mail.gmail.com> |
Hey all, I'm working on porting a library and I've run across an unfortunate surprise (or I'm just doing it wrong). Can someone confirm that avr-gcc 4.8.1 doesn't (implicitly) define __STDC_VERSION__ as suggested by https://gcc.gnu.org/onlinedocs/cpp/Standard-Predefined-Macros.html#Standard-Predefined-Macros? If not, how is a library to determine if the compiler is C89 or C99 or whatever? Kind Regards, Vic Victor Aprea // Wicked Device [email protected] T: @vicatcu <http://twitter.com/vicatcu/> _______________________________________________ AVR-GCC-list mailing list [email protected] https://lists.nongnu.org/mailman/listinfo/avr-gcc-list