cppcoro
cppcoro copied to clipboard
Unable to build under MSVC preview.
cl version: 19.28.29617 Visual Studio version: 16.9.0 preview error:
C:\Program Files (x86)\Microsoft Visual Studio\2019\Preview\VC\Tools\MSVC\14.28.29617\include\experimental/coroutine(37): fatal error C1189: #error: The <experimental/coroutine> and <experimental/resumable> headers are only supported with /await and implement pre-C++20 coroutine support. Use <coroutine> for standard C++20 coroutines.
<experimental/coroutine> is not supported in preview version.
consider use
It seems that VS2019 (without preview, 16.8.3 is unable to build cppcoro too for now.) I remember that older version of cppcoro has a header <cppcoro/coutines.h> that works fine with both versions.
In the fork https://github.com/andreasbuhr/cppcoro I made some modifications to make it work.
In the fork https://github.com/andreasbuhr/cppcoro I made some modifications to make it work.
Thanks for responding so quickly, help me so much!