Boost logo

Boost Users :

Subject: Re: [Boost-users] Boost Coroutine
From: Oliver Kowalke (oliver.kowalke_at_[hidden])
Date: 2016-10-18 14:18:28


2016-10-18 17:54 GMT+02:00 Miguel Portilla <miguelportilla_at_[hidden]>:

> Hello,
>
> Using Boost 1.62, I am seeing the following warning when I build my
> project.
>
> warning : Boost.Coroutine is now deprecated. Please switch to
> Boost.Coroutine2. To disable this warning message, define
> BOOST_COROUTINE_NO_DEPRECATION_WARNING.
>
> I haven't found any documentation on what exactly this means or how to
> 'switch'. Can someone please point me to some docs or explain what
> 'switching' entails?
>
> Thanks,
> -M
>

Apply BOOST_COROUTINES_NO_DEPRECATION_WARNING (note the additional 'S' at
the end of 'COROUTINE' - the warning statement in the code has a typo) in
order to suppress the warning or you use boost.coroutine2 (requires C++11
support) instead of boost.coroutine in your project.



Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net