------- Comment #57 from gdr at integrable-solutions dot net 2006-05-09 15:15 ------- Subject: Re: __cplusplus defined to 1, should be 199711L
"marc dot glisse at normalesup dot org" <[EMAIL PROTECTED]> writes: | (In reply to comment #30) | > Defines __cplusplus to 199711L and overrides it in c++config.h for solaris 8 | | Out of curiosity, why not deal with __cplusplus the same way as __STDC__ (0 for | standard headers and 1 elsewhere IIRC) instead, or even defining it to 1 | directly for this platform? If I include stdlib.h (not cstdlib), I won't | include c++config.h first, and it should cause trouble with this approach. other standard headers might directly or indrectly include <cstdlib>, so any macro game should work properly. I see c++config.h as a "built-in" header that should be always there anyway we are processing a C++ program. -- Gaby -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=1773