I'm using Eclipse Oxygen CDT on Windows 7 64-bit. I've got MinGW-W64 installed, in a non-standard location but Eclipse reports that it is correctly found. But in the project I'm working on (which is a plain Makefile project), lines like
#include <string.h>
are underlined and marked with a '?' in the margin. I believe the component responsible is the "indexer".
I can solve the problem by adding the MinGW include path to each project (Properties -> C/C++ General -> Paths and Symbols), but that seems like The Wrong Way To Do It, as I'd have to repeat for every new project.
There doesn't seem to be a global setting though -- nothing in Preferences -> C/C++ -> Indexer, and nothing similar to 'Paths and Symbols' in global preferences.
Can I set the include paths used by the indexer once, so that any project using MinGW will "inherit" them?