jnschulze / flutter-webview-windows

A WebView2-powered Flutter WebView implementation for the Windows platform.
BSD 3-Clause "New" or "Revised" License
203 stars 120 forks source link

Explicitly enabled experimental coroutine support on MSVC compilers #278

Closed StMiBuchi closed 8 months ago

StMiBuchi commented 8 months ago

Fixes compilation error:

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.

In some scenarios.