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: "ebotcazou at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 4 Dec 2005 21:01:26 -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 #51 from ebotcazou at gcc dot gnu dot org 2005-12-04 21:01 -------
> But there is something I don't understand at all: after a recent patch from
> Benjamin, eh_globals.cc now does include <bits/c++config.h> *first*! Therefore
> the problem seems different. At the beginning of eh_globals.cc __cplusplus is
> used but should not be seen different before/after the patch on Sol 8, always
> == 1 !?!
Humpf...
+#ifdef __cplusplus
+# undef __cplusplus
+#endif
+#define __cpluplus 1
I'm going to fix the typo and retest.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=1773