This topic is now archived and is closed to further replies.


c99 compliance?

Recommended Posts

Hi, Is there some macro which is defined if c99 is available? Apparently __STDC_VERSION__ should be defined as 199901L, but no compiler im using has this macro even defined. (including mingw) Specifically I want to know if __VA_ARGS__ is available, and for three of the compilers im using it is, but __STDC_VERSION__ isnt even defined. (__VA_ARGS__ is supported by icc,g++,dmc, (but none define __STDC_VERSION__), but is not supported by vc6, i think it is supported by vc7 - not sure ) Thanks.

Share this post

Link to post
Share on other sites