boostorg / boostorg/fiber

BOOST_FIBERS_NO_ATOMICS compile error

未关闭
#285 4 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
C++
星标
510
派生
123
PR 合并指标
30 天内没有已合并 PR

描述

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

贡献指南

这个仓库没有索引到贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。