MinGW: MSVC standard library usage requirements
I opened #19496 (closed) a while ago which was fixed by defaulting to C++14 on Windows when using the Clang GNU frontend. Now I'm noticing the same problem when using MinGW on Windows (errors in MSVC standard library headers because -std=c++11
is used when setting CXX_STANDARD 11
, CXX_STANDARD_REQUIRED ON
, CXX_EXTENSIONS OFF
and target_compile_features(${TARGET} PUBLIC cxx_std_11)
). Can the same fix be used here?