[Bug libstdc++/1773] __cplusplus defined to 1, should be 199711L
bkoz at redhat dot com
gcc-bugzilla@gcc.gnu.org
Mon Apr 2 08:49:00 GMT 2007
------- Comment #65 from bkoz at redhat dot com 2007-04-02 09:49 -------
Subject: Re: __cplusplus defined to 1, should be 199711L
> Weird, when solaris is the easiest one.
That's certainly a matter of perspective.
>> 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.
Ah. Thanks for pointing this out to me.
Figuring out how to map these files correctly just for solaris will be
interesting.
>> 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?
Sorry, I cannot find this at the moment. The plan is to correct the
includes/c implementation.
-benjamin
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=1773
More information about the Gcc-bugs
mailing list