avr-gcc-list
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[avr-gcc-list] __STDC_VERSION__ not defined


From: Victor Aprea
Subject: [avr-gcc-list] __STDC_VERSION__ not defined
Date: Sat, 15 Apr 2017 13:15:44 -0400

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

reply via email to

[Prev in Thread] Current Thread [Next in Thread]