Try out this step: https://www.eclipse.org/forums/index.php/t/636348/
Go to
Project -> Properties -> C/C++ General -> Preprocessor Include Paths, Macros, etc. -> Providers
- Activate CDT GCC Built-in Compiler Settings
- Deactivate Use global provider shared between projects
- Add the command line argument -std=c++11.