Am using VS 2017
to develop a cross platform application. Target system has GCC v 8+
installed on it, which, according to documentation, supports C++ 17
.
For some reason though, the c++
language standard is resolutely stuck at C++ 14
in my application.
I went to project properties -> C/C++ -> Language and set the C++ language standard explicitly to C++ 17
, which was available in the selection list, but that did not change anything.
The macro, __cpluscplus
is set at, and expands to 201406L
in many of the headers, instead of 201703L
which I need to turn on some of the features available with C++ 17
.
From what I understand, this macro is reserved, and furthermore, is set by the compiler? In which case, beyond trying to change this in VS Project settings, where this setting was available, what else would need to be done?