Clang GNU: MSVC standard library usage requirements
With the new Windows Clang GNU frontend variant support, a lot of projects are failing to compile because they specify C++11 as the CMake standard but depend on the MSVC standard library headers which use C++14. I've been fixing these projects by checking if the Clang GNU frontend is used on Windows and increasing the C++ version if this is the case but ideally, CMake would automatically add the correct usage requirements to each target depending on which standard library is used.
So for example, a project that uses the MSVC stdlib would have C++14 usage requirements added to all its C++ targets by CMake.
Edited by Brad King