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: "pcarlini at suse dot de" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 4 Dec 2005 21:33:37 -0000
- Subject: [Bug libstdc++/1773] __cplusplus defined to 1, should be 199711L
- References: <bug-1773-1824@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #54 from pcarlini at suse dot de 2005-12-04 21:33 -------
(In reply to comment #53)
> > Gosh! Thanks Eric for noticing and further testing.
>
> Hum... no changes on Solaris 9 and 10.
Indeed, should still give problems.
> On Solaris 8 I now get:
I see what's going wrong: <bits/c++config.h> is not included before <cstring>,
which needs it, needs __cplusplus == 1.
Ok, Eric, I will ASAP do an audit, check that <bits/c++config.h> is everywhere
included correctly, sufficiently early, fix all those issues, and only then
bother you again for Sol. For now would be the same approach also for Sol 9 and
newer. We can figure out something better for recent Sol later, by way of
fixincludes or whatelse... Thanks again.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=1773