|
Boost : |
From: Peter Dimov (pdimov_at_[hidden])
Date: 2007-04-27 15:29:57
Doug Gregor wrote:
> On Apr 27, 2007, at 1:47 PM, Eric Niebler wrote:
>> This is going to be very useful, thanks Doug. From the regression
>> reports (http://tinyurl.com/2uvxrz), I see this version of GCC is not
>> happy at all with xpressive. There are at least two problems:
>>
>> In file included from ../boost/detail/atomic_count.hpp:97,
>> from
>> ../boost/xpressive/detail/utility/counted_base.hpp:12,
>> from ../boost/xpressive/detail/dynamic/
>> matchable.hpp:21,
>> from ../boost/xpressive/detail/core/access.hpp:18,
>> from ../boost/xpressive/detail/core/state.hpp:18,
>> from ../boost/xpressive/regex_algorithms.hpp:21,
>> from ../libs/xpressive/test/
>> test_regex_algorithms.cpp:8:
>> ../boost/detail/atomic_count_gcc.hpp:20:28: error: bits/
>> atomicity.h: No
>> such file or directory
>>
>>
>> This could be that the test machine is misconfigured, or that
>> atomic_count.hpp needs a patch for this version of GCC.
>
> GCC 4.3 has moved this header into ext/atomicity.h and all of its
> functions into namespace __gnu_cxx.
For GCC 4.1 and above, we need to switch atomic_count and sp_counted_base to
http://gcc.gnu.org/onlinedocs/gcc-4.1.1/gcc/Atomic-Builtins.html
If someone can submit a patch for that I'll incorporate it, otherwise it
will happen whenever I find the time to implement and test it myself.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk