[Bug libstdc++/1773] __cplusplus defined to 1, should be 199711L
marc.glisse at normalesup dot org
gcc-bugzilla@gcc.gnu.org
Thu Aug 4 14:24:00 GMT 2011
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.
More information about the Gcc-bugs
mailing list