|
Boost : |
Subject: [boost] [atomic] trunk doesn't build with VC++
From: Luke Elliott (lukester_null_at_[hidden])
Date: 2012-07-14 12:25:14
compile-c-c++
..\..\..\bin.v2\libs\atomic\build\msvc-9.0\debug\threading-multi\lockpool.obj
lockpool.cpp
D:\dev\checkouts\boost-trunk\boost/atomic/detail/interlocked.hpp(125) :
error C2039: 'platform_cmpxchg32' : is not a member of
'boost::atomics::detail'
D:\dev\checkouts\boost-trunk\boost/atomic/detail/interlocked.hpp(125) :
error C3861: 'platform_cmpxchg32': identifier not found
D:\dev\checkouts\boost-trunk\boost/atomic/detail/interlocked.hpp(127) :
warning
C4800: 'boost::uint32_t' : forcing value to bool 'true' or 'false'
(performance warning)
Should it be using platform_cmpxchg32_strong at line 125 of interlocked.hpp?
And return (0 != expected) (or something) on line 127 to clean up the
warning?
Best regards
Luke Elliott.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk