This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: libstdc++/1773: __cplusplus defined to 1, should be 199711L
- From: Benjamin Kosnik <bkoz at redhat dot com>
- To: neroden at twcny dot rr dot com
- Cc: gcc-gnats at gcc dot gnu dot org, Jens dot Maurer at gmx dot net, gcc at gcc dot gnu dot org, gcc-bugs at gcc dot gnu dot org, gdr at gcc dot gnu dot org, pme at sourceware dot cygnus dot com, gcc-prs at gcc dot gnu dot org
- Date: Wed, 12 Mar 2003 18:23:59 -0600
- Subject: Re: libstdc++/1773: __cplusplus defined to 1, should be 199711L
- References: <E18tDpT-0000vu-00@doctormoo>
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