Boost logo

Boost :

From: Ralf W. Grosse-Kunstleve (rwgk_at_[hidden])
Date: 2007-10-30 13:54:39


> A stupid question: Why do you use __GLIBCXX__ instead of __GNUC__ and
> __GNUC_MINOR__ as described on
> http://gcc.gnu.org/onlinedocs/cpp/Common-Predefined-Macros.html?

I was just following the precedence in boost/config/stdlib/libstdcpp3.hpp:

#if defined(__GLIBCXX__) || (defined(__GLIBCPP__) && __GLIBCPP__>=20020514) // GCC >= 3.1.0

This is what's currently in the boost svn.
With trial-and-error I found out that __GLIBCPP__ is not defined by
the "experimental" g++ 4.3.0 from the gcc svn trunk.

I don't know what's the best set of #ifdefs in the long run. I'd leave
that to people more knowledgeable about the future g++ development path
(e.g. Doug).

Ralf


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk