
30 Oct
2007
30 Oct
'07
5:54 p.m.
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