C++14 works even if not added to CONFIG
Unsolved
General and Desktop
-
Hi
Maybe the /std:c++14 is included in the mkspec or in effect from other source.
Like at some point you had to add
CONFIG += c++11
for mingw but now its not needed. -
@michalt38 said in C++14 works even if not added to CONFIG:
I was about to say what @jsulm has just said, and/or I guess MSVC 2017 just automatically supports this?What exact command line is being generated when MSVC compiler is called? According to https://docs.microsoft.com/en-us/cpp/build/reference/std-specify-language-standard-version?view=vs-2017 you might need to pass
/std:...
, and that doesn't even seem to accept/std:c++11
?