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: "phil at jaj dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 4 Aug 2003 08:17:09 -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
PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=1773
------- Additional Comments From phil at jaj dot com 2003-08-04 08:17 -------
Subject: Re: __cplusplus defined to 1, should be 199711L
> Sure he missed the point. To see why you need to consider the whole
> previous comments.
I disagree, but we'll leave it at that.
> There is an alternate option: Define __cplucplus on target (os or
> cpu) basis. For example have V3/config/os/generic/os_defines.h define
> __cplusplus to the correct value (which should be something higher
> than 199711l, I don't recall the exact value) and have solaris8
> override it.
199711L is the value called for by 14882. Are we permitted to use higher
values?
How would a V3 header file help us here? None of our headers are used.