mardi 2 août 2016

Error: Static assertion failed: BOOST_ATOMIC_FLAG_LOCK_FREE

Am actually newbie to Boost library and am currently trying to build boost library on Solaris-10 platform, The Following command am using to build boost: Command1:

./bootstrap.sh --with-toolset=sun --with-libraries=atomic,thread,regex

./b2 variant=release address-model=64 runtime-link=shared cxxflags="-std=c++11 -m64 -xarch=sparc -mt" linkflags="-std=c++11 -m64 -xarch=sparc -mt" threading=multi toolset=sun stage The boost builds fine but the only problem is - lockfree boost::atomic_flag : no (cached)

The lockfree feature for queue is not getting enabled. Could any one help me in understanding like what am i missing and what i need to add to command line to enable the lookfree feature

Aucun commentaire:

Enregistrer un commentaire