eclipse (kepler) cdt c++11

1. Project settings
Right click your project and properties

add

under
C/C++ Build – Settings – LLVM Clang C++ – Miscellaneous

Screenshot from 2013-10-08 14:09:24

Note: Do this for each build configuration (e.g. Debug, Release)
I have not found a better solution yet.

2. Globally add c++11 to the preprocessor

Window – Preferences – C/C++ – Build – Settings – Discovery Tab – CDT GCC Built-in Compiler Settings [Shared]
add

after the ${COMMAND}

Screenshot from 2013-10-08 14:19:39