boostorg / boostorg/fiber

BOOST_FIBERS_NO_ATOMICS compile error

Open
#285 4 comments 0 reactions 0 assignees View on GitHub
Dominant language
C++
Stars
510
Forks
123
PR merge metrics
No merged PRs in 30d

Description

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

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.