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: Thu, 4 Aug 2011 14:24:36 +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
Marc Glisse <marc.glisse at normalesup dot org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #24874|0 |1
is obsolete| |
--- Comment #107 from Marc Glisse <marc.glisse at normalesup dot org> 2011-08-04 14:20:12 UTC ---
Created attachment 24917
--> http://gcc.gnu.org/bugzilla/attachment.cgi?id=24917
tested patch
I tested this patch on S10 (the headers are really the same as in S11) and it
doesn't seem to cause unexpected failures in libstdc++. The mangling patch, on
the other hand, is broken: it forgets "const", for example in "const std::tm*".
I am not sure what I am doing wrong (I basically copied the code used to give a
special mangling to std::string).
The list of all structs in namespace std is: div_t, lconv, ldiv_t, tm.