fiber icon indicating copy to clipboard operation
fiber copied to clipboard

BOOST_FIBERS_NO_ATOMICS compile error

Open karopawil opened this issue 4 years ago • 3 comments

Hi,

I am trying to compile with BOOST_FIBERS_NO_ATOMICS flag and getting compile errors like:

/home/precitec/boost-build/boost_1_72_0/boost/fiber/context.hpp:395:25: error: request for member ‘fetch_add’ in ‘ctx->boost::fibers::context::use_count_’, which is of non-class type ‘std::size_t’ {aka ‘long unsigned int’} 395 | ctx->use_count_.fetch_add( 1, std::memory_order_relaxed);

Is this flag currently supported?

Regards, Naveen

karopawil avatar Oct 11 '21 13:10 karopawil

seams to be a bug

olk avatar Oct 11 '21 13:10 olk

Thanks for the quick answer. Any plans to fix it?

karopawil avatar Oct 11 '21 14:10 karopawil

Or I could give it a shot if you gave me some hints.

karopawil avatar Oct 11 '21 14:10 karopawil