foxpy / qc

Quad C: Custom Cruel C Crate
MIT License
4 stars 0 forks source link

Windows support: can't build #52

Closed foxpy closed 3 years ago

foxpy commented 3 years ago

Visual Studio 2019 stdlib + clang 10.0 compilation fails because Microsoft uses __declspec(noreturn) in their internal stdlib public headers. When someone includes standards compliant stdnoreturn.h __decspec(noreturn) gets replaced by __declspec(_Noreturn). We possibly have to handle Windows clusterfuck separately if we want to take advantage of noreturn specificators.