C++11 nmake configuration fails for latest MS C++ compiler
Environment OS: Windows 10 Compiler: Microsoft C/C++ Compiler Version 19.11.25547 for x64 (VS2017 15.4.4) cmake version: 3.10.0 release Windows x64
Description Running cmake configuration for nmake makefile generation on C++11 source (ie current git cmake source), using latest MS C++ compiler toolchain, fails with the message:
CMake Error at CMakeLists.txt:79 (message):
The C++ compiler does not support C++11 (e.g. std::unique_ptr).
the only error I can find in the logs is:
cm_cxx_fallthrough.cxx(7): error C2429: attribute 'fallthrough' requires compiler flag '/std:c++latest'
all other tests seem to work AFAICS
How to reproduce
run cmake 3.10.0 on cmake current git source with nmake
generation and specify MS Compiler 19.11.25547
Edited by BeErikk