- Cmake 2.8.7
- Xcode 4.3.1
- Boost 1.48
In Boost 1.48, there's a change in
- Code: Select all
boost::interprocess::detail
- Code: Select all
luxrays/include/luxrays/utils/core/atomic.h
- Code: Select all
/LuxRender/luxrays/include/luxrays/utils/core/atomic.h:47:35: error: no member named 'detail' in namespace 'boost::interprocess'
The Boost change is mentioned here:
[url]http://boost.2283326.n4.nabble.com/1-48-0-beta-1-interprocess-detail-namespace-td3947314.html
[/url]
FIX: I manually modified atomic.h in several places to make it build:
- Code: Select all
while (boost::interprocess::detail::atomic_cas32(((boost::uint32_t *)val), newVal.i, oldVal.i) != oldVal.i);
to
- Code: Select all
while (boost::interprocess::ipcdetail::atomic_cas32(((boost::uint32_t *)val), newVal.i, oldVal.i) != oldVal.i);
Question:
Is there anything I can do to avoid making changes to atomic.h?
What is the blessed version of Boost?
