This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Pedefined macro for C dialect


Edward Diener <eldlistmailingz@tropicsoft.com> writes:

> Is there any predefined macro for testing the language standard
> setting ( std= ) when compiling a C++ translation unit ?

Not in general, no.  Using -std=c++0x will defined
__GXX_EXPERIMENTAL_CXX0X__.

Ian


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]