--- libs/fiber/src/context.cpp +++ libs/fiber/src/context.cpp @@ -219,7 +219,11 @@ type_{ type::dispatcher_context }, policy_{ launch::post } { +#if defined(BOOST_GCC) && BOOST_GCC < 50000 + c_ = boost::context::callcc_no_args_palloc( +#else c_ = boost::context::callcc( +#endif std::allocator_arg, palloc, salloc, [this,sched](boost::context::continuation && c) noexcept { c = c.resume();