[Bug libstdc++/1773] __cplusplus defined to 1, should be 199711L
marc dot glisse at normalesup dot org
gcc-bugzilla@gcc.gnu.org
Thu Mar 29 11:30:00 GMT 2007
------- Comment #64 from marc dot glisse at normalesup dot org 2007-03-29 12:29 -------
(In reply to comment #63)
> However, I'm working on speculative fixes for newlib and linux, which are
> predicated on the correct __cplusplus values. I may get to solaris too, if my
> sanity stretches that far, or I may fail entirely, everywhere.
Weird, when solaris is the easiest one.
> Based on Solaris 11 x86, I don't see a way for say cstdlib to have only the
> namespace std versions of functions, and not also the global scoped ones.
#include <iso/stdlib_iso.h>
(this is how sun studio compiler does it)
If you also want the C99 functions, then you have to wait for the next c++
standard to actually exist before solaris changes its headers accordingly.
> My RFC message about C++0x headers had the details on my implementation plan,
> I think.
Sorry for the dumb question, but where is it?
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=1773
More information about the Gcc-bugs
mailing list