This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libstdc++/1773] __cplusplus defined to 1, should be 199711L
- From: "tortoise_74 at yahoo dot co.uk" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Sat, 26 Nov 2011 12:10:26 +0000
- Subject: [Bug libstdc++/1773] __cplusplus defined to 1, should be 199711L
- Auto-submitted: auto-generated
- References: <bug-1773-4@http.gcc.gnu.org/bugzilla/>
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?