This is the mail archive of the libstdc++@gcc.gnu.org mailing list for the libstdc++ project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


Jonathan Wakely wrote:
>...

Hi Jonathan,

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.

Ha! That explains some odd results I was seeing. Thanks!



You probably want to check __GLIBC__, __GLIBC__MINOR__ and maybe __GNUC_PATCHLEVEL__ instead.

Gah, my brain's not working.

I know the feeling. Of all the things I've ever lost, I miss my mind the most.


That should be __GNUC__, __GNUC_MINOR__
and __GNUC_PATCHLEVEL__

Will do, and thanks again!


--Beman


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]