I have a Makefile-based Eclipse CDT project, and under Project > Properties > C/C++ General > Preprocessor Include Paths, Macros etc. > GNU C++ > CDT GCC Built-in Compiler Settings > __cplusplus
the value is 201402L
I have the -std=c++17
flag set in my Makefile, so the actual value of this predefined macro is 201703L
not 201402L
.
Clearly, the list of predefined macros in GCC Built-In Compiler Settings
was generated without the -std=c++17
flag.
Is it possible to set the compiler flags that are used to generate the list of predefined macros in CDT GCC Built-in Compiler Settings
and trigger them to be regenerated? If so where/how is this configured?