Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BOOST_FIBERS_NO_ATOMICS compile error #285

Open
karopawil opened this issue Oct 11, 2021 · 3 comments
Open

BOOST_FIBERS_NO_ATOMICS compile error #285

karopawil opened this issue Oct 11, 2021 · 3 comments

Comments

@karopawil
Copy link

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

@olk
Copy link
Member

olk commented Oct 11, 2021

seams to be a bug

@karopawil
Copy link
Author

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

@karopawil
Copy link
Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants