This is the mail archive of the gcc@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]

Re: libstdc++/1773: __cplusplus defined to 1, should be 199711L


On Wed, 12 Mar 2003 16:32:03 -0500
Nathanael Nerode <neroden at twcny dot rr dot com> wrote:

>This is a very old report.  What's the status now?  It was suspended because 
>the standard conforming value for __cplusplus broke libstdc++-v3 on many 
>platforms.  libstdc++-v3 and the C++ front end have both undergone dramatic 
>changes and improvements.  Can this be fixed now?

Sadly, this can't be fixed at the moment, at least on most platforms.
For cross compilers using newlib, this was fixed some time back with the
--enable-headers=c work done at the time of the QNX port. That is not
the default configuration, however.

One of the things blocking this is hardware, ie real access to
up-to-date sun hardware with sunpro tools so I can see what is going on.
The other issue is time: I don't have enough of it, and this is
something I consider a lower priority than other issues. There were some
patches in glibc-2.3.x that went in that may allow a more elegant
solution for linux, but that work is not finished.

best,
benjamin


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