[c++0x] List of what __GLIBCXX__ version headers become available?

Jonathan Wakely jwakely.gcc@gmail.com
Sat May 16 10:02:00 GMT 2009


2009/5/16 Jonathan Wakely <jwakely.gcc@gmail.com>:
> 2009/5/15 Beman Dawes:
>>
>> Is there anything analogous to http://gcc.gnu.org/projects/cxx0x.html that
>> lists the status of each C++ header? In particular, for C++03 headers I'd
>> like to know the __GLIBCXX__ version where the C++0x features (other than
>> concept related) became available and the version where full (including
>> concept related) features became available. For C++0x headers, I'd like to
>> know the version where features (other than concept related) became
>> available and the version where full (including concept related) features
>> became available.
>
> Hi Beman,
>
> I'm not sure how useful __GLIBCXX__ is for your purposes, for instance
> in GCC 4.2.4 it is set to 20080519 but in GCC 4.3.0 it is set to
> 20080305. Although 4.3.0 was released earlier than 4.2.4, it has
> better C++0x support than any release in the 4.2 series.
>
> You probably want to check __GLIBC__, __GLIBC__MINOR__ and maybe
> __GNUC_PATCHLEVEL__ instead.

Gah, my brain's not working. That should be __GNUC__, __GNUC_MINOR__
and __GNUC_PATCHLEVEL__

Sorry,

Jonathan



More information about the Libstdc++ mailing list