danvratil / qcoro

C++ Coroutines for Qt
https://qcoro.dvratil.cz
MIT License
331 stars 53 forks source link

Build Failure with Clang `15.x`< on Windows in Debug #160

Closed DeveloperPaul123 closed 1 year ago

DeveloperPaul123 commented 1 year ago

Due to the fcoroutine-ts flag being deprecated in LLVM 15.x, QCoro fails to build with clang++ 16+ with -Werror -Wall.

Output:

error : the '-fcoroutines-ts' flag is deprecated and it will be removed in Clang 17; 
use '-std=c++20' or higher to use standard C++ coroutines instead [-Werror,-Wdeprecated-experimental-coroutine]