From: Doug Gregor (dgregor_at_[hidden])
Date: 2007-10-30 14:19:43
On Oct 30, 2007, at 1:54 PM, Ralf W. Grosse-Kunstleve wrote:
>> A stupid question: Why do you use __GLIBCXX__ instead of __GNUC__ and
>> __GNUC_MINOR__ as described on
> I was just following the precedence in boost/config/stdlib/
> #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
> (e.g. Doug).
__GLIBCXX__ is the macro that will be used in all future releases.
__GLIBCPP__ will no longer be used.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk