
Make a new C++ project
Default options for everything
Once created, right-click the project and go to “Properties”
C/C++ Build -> Settings -> Tool Settings -> GCC C++ Compiler -> Miscellaneous -> Other Flags. Put -std=c++0x at the end.
C++ General -> Paths and Symbols -> Symbols -> GNU C++. Click “Add...” and paste
__GXX_EXPERIMENTAL_CXX0X__(ensure to append and prepend two underscores) into “Name” and leave “Value” blank.Hit Apply, do whatever it asks you to do, then hit OK.