Right-Click on Project->Properties->C/C++ General->Preprocessor Include Paths, Macros, etc. –> Click “Providers” tab –> CDT GCC Built-in Compiler Settings
Uncheck “Use global provider shared between projects”
Add -std=c++0x
It will then look something like this:
${COMMAND} ${FLAGS} -E -P -v -dD -std=c++0x "${INPUTS}"
Rebuild index.