This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug libstdc++/1773] __cplusplus defined to 1, should be 199711L


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]