[Bug libstdc++/1773] __cplusplus defined to 1, should be 199711L
ebotcazou at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Sun Dec 4 21:01:00 GMT 2005
------- 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
More information about the Gcc-bugs
mailing list