[Bug libstdc++/1773] __cplusplus defined to 1, should be 199711L
tortoise_74 at yahoo dot co.uk
gcc-bugzilla@gcc.gnu.org
Sat Nov 26 13:26:00 GMT 2011
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=1773
--- Comment #127 from Bruce Adams <tortoise_74 at yahoo dot co.uk> 2011-11-26 12:10:26 UTC ---
(In reply to comment #126)
> "201103" of course.
Perhaps it is my misunderstanding. I assume __cpluscplus is defined by the
compiler. Could it come from a system header or system library instead?
g++ must include the std C++ library because otherwise I wouldn't be able to
use unique_ptr with g++ 4.7 when I can't use it with g++ 4.1.
Could someone confirm whether this change is in the 20111119 snapshot or only
in main please?
More information about the Gcc-bugs
mailing list