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 <oliver.kowalke@gmail.com> wrote:


2016-10-18 17:54 GMT+02:00 Miguel Portilla <miguelportilla@pobros.com>:
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 mailing list
Boost-users@lists.boost.org
http://lists.boost.org/mailman/listinfo.cgi/boost-users