I am using eclipse mars to code c++ projects. Lately I installed g++-8 to use the new cpp17 features.
I changed the settings window->preferences->C/C++->build->settings->discovery->"CDT GCC built-in compiles settings" to ${COMMAND} -std=c++17 ${FLAGS} -E -P -v -dD "${INPUTS}" (I changed -std=c++11 to 17)
What else do I need to change to allow eclipse to find cpp17 related include files like < optional>?
Thank you