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: "bkoz at redhat dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 2 Apr 2007 08:49:30 -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 #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