Thanks for the response, Oliver. I don't want to suppress the warning but rather address the problem. I believe in my case the problem may lie in ASIO's use of coroutines. Is there a roadmap for ASIO updating to boost.corouitne2? 

On Tue, Oct 18, 2016 at 2:18 PM, Oliver Kowalke <> wrote:

2016-10-18 17:54 GMT+02:00 Miguel Portilla <>:

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? 


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 mailing list