2016-10-18 17:54 GMT+02:00 Miguel Portilla <miguelportilla@pobros.com>:

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.