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: "neroden at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 7 Jan 2004 21:29:23 -0000
- Subject: [Bug libstdc++/1773] __cplusplus defined to 1, should be 199711L
- References: <20010125132600.1773.jens.maurer@gmx.net>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From neroden at gcc dot gnu dot org 2004-01-07 21:29 -------
Mark Mitchell wrote:
>Yes, it would be nice to take a more elegant approach with Solaris 8. If that
>is really the only system where that is a problem,
That appears to be the case!
As Phil Edwards wrote earlier:
>The question is exactly the point: "why are we holding back other platforms
>and other fixes for the sake of Solaris 8?"
So I would like to suggest a different version of Mark's approach: define
__cplusplus correctly (to 199711L) by default, and allow targets to override it.
Then Solaris 8 can set it to 1. :-)
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=1773