Re: _cplusplus symbol's value

2010-01-28 Thread Paolo Carlini
On 01/28/2010 01:15 PM, koala01 wrote: > Hi, > > I would like to discuss about _cplusplus symbol value. > > for now, we have: > 0 if we do not compile in C++ > 1 if we compile in C++ You mean __cplusplus, double underscore. Anyway, we have a long standing Bugzilla about it: http://gcc.gnu.org/b

_cplusplus symbol's value

2010-01-28 Thread koala01
Hi, I would like to discuss about _cplusplus symbol value. for now, we have: 0 if we do not compile in C++ 1 if we compile in C++ And we have the opportunity to test if we compile in C++1x only by checking the definition of the symbol __GXX_EXPERIMENTAL_CXX0X__. I know that C++1x is not yet