chriskohlhoff / asio

Asio C++ Library
http://think-async.com/Asio
4.73k stars 1.2k forks source link

Workaround for experimental::coro compile error with MSVC #1313

Closed cbrl closed 11 months ago

cbrl commented 1 year ago

This addresses a problem with MSVC where it incorrectly reports a syntax error when compiling code that uses asio::experimental::coro. There is an existing bug report on the Microsoft developer community. However, this can also be fixed in ASIO itself by renaming a few captured lambda variables.

cbrl commented 11 months ago

Fixed in a09dde9d6b561f21db9e7abfedca4cdc210be8e9