3 Aug
2013
3 Aug
'13
1:04 p.m.
Le 24/07/13 01:24, James Walker a écrit :
Attempting to build the 1.54.0 version of the thread library for ppc on Mac OS X 10.6.8, using Apple's GCC 4.0, I get this error:
boost_1_54_0/boost/atomic/detail/gcc-ppc.hpp: In member function 'bool boost::atomics::detail::base_atomic
::compare_exchange_strong(T&, T, boost::memory_order, boost::memory_order) volatile [with T = unsigned int, bool Sign = false]': /Volumes/Home/Mercurial/boost_1_54_0/boost/atomic/detail/gcc-ppc.hpp:1190: error: impossible constraint in 'asm' If I use GCC 4.2, I don't get the error. But I'm hesitant to use that compiler, because it usually produces code that won't run on G3's. Hi,
please, could you try to build defining BOOST_THREAD_DONT_USE_ATOMIC. Best, Vicente