Boost logo

Boost :

From: Doug Gregor (dgregor_at_[hidden])
Date: 2008-07-31 14:46:51


On Jul 31, 2008, at 2:14 PM, Mat Marcus wrote:
>>> This is the case because boost assumes that a 4.2 compiler implies
>>> 4.2 libraries in flies such as boost/detail/atomic_count_gcc.hpp:
>>>
>>> #if (__GNUC__ > 4) || ((__GNUC__ == 4) && (__GNUC_MINOR__ >= 2))
>>> # include <ext/atomicity.h>
>>> #else
>>> # include <bits/atomicity.h>
>>> #endif
>>
>> Yes, this is a bug or faulty assumption in boost.
>
> [snip]
>
>> The 4.2 library issue is a bug in Boost, not a problem with
>> our compiler. I'd suggest raising the issue on one of the boost
>> mailing lists and see what they say.

This is the first time I've seen a libstdc++ that's not in sync with
the GCC version. Are there any preprocessor macros that identify the
4.0 libstdc++ vs. the 4.2 libstdc++? I don't know of any, but I guess
we could just use __APPLE_CC__.

        - Doug


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