Re: [Boost-users] Using coroutines in ASIO

2020-04-25 Thread Richard Hodges via Boost-users
I believe there's a fix for this about to come out in boost 1.73 Until then it will work with clang9 -fcoroutines-ts -stdlib=libc++ It's because gcc went straight to the c++20 version of coroutines without stopping fot coroutines.ts. On Sun, 26 Apr 2020 at 00:49, Pedro Pinto via Boost-users <

[Boost-users] Using coroutines in ASIO

2020-04-25 Thread Pedro Pinto via Boost-users
Hi there, I am trying to compile the asio co-routine example but as far as I can tell boost is looking for an header that does not exist on my system. I am using boost 1.71 and gcc on ubuntu 20.04. I tried both stock gcc (v9 on ubuntu) which does not have a coroutine header and gcc 10 which does h