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: "marc.glisse at normalesup dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Sat, 30 Jul 2011 23:20:13 +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 #94 from Marc Glisse <marc.glisse at normalesup dot org> 2011-07-30 23:16:55 UTC ---
(In reply to comment #92)
> Created attachment 24874 [details]
> for Solaris 11
If I manually fixinclude the getc problem and the pow declarations, the only
unexpected testsuite failures I get are ext/profile/mutex_extensions_neg.cc
(expected error moved by 5 lines) and the ABI breakage.
Fixing the ABI is not too hard (add substitutions to cp/mangle.c for std::tm
and a couple others) but I don't know if that's acceptable (it may yield weird
duplicate symbol errors) and if it should be done only on solaris.