To change the Eclipse indexer settings go to:
Project properties -> C/C++ General -> Preprocessor Include Paths, Macros etc. -> Tab Providers -> CDT GCC Built-in Compiler Settings
Append -std=c++0x (or -std=c++11) to the command. Afterwards it should look like this:
${COMMAND} -E -P -v -dD ${INPUTS} -std=c++0x
Found on:
Stackoverflow.com