Eclipse 3.7.1 CDT 1.4.1 GCC 4.6.2
This is an example of a piece of C++11 code:
auto text = std::unique_ptr(new char[len]);
To get support for C++14 in Eclipse Luna, you could do these steps:
C++ General -> Preprocessor Include -> Providers -> CDT Cross GCC Built-in Compiler Settings
, add "-std=c++14"C++ Build -> Settings -> Cross G++ Compiler -> Miscellaneous
, add "-std=c++14"Reindex your project and eventually restart Eclipse. It should work as expected.