I've tried everything I can find, including the official Eclipse CDT Wiki and a couple posts here, including this one, and another article I found; none of which proved to be successful.
When I try and build my project I get a "has not been declared" error on all C++11 commands, and the editor still underlines these commands.
My current settings:
- Properties > C/C++ Build > Settings > Tool Settings > Cygwin C++ Compiler > Miscellaneous > Added
-std=c++0x
to the end (and I've tried-std=c++11
) - Properties > C/C++ Build > Settings > Tool Settings > Cygwin C++ Linker > Miscellaneous > Added
-std=c++0x
to the end (and I've tried-std=c++11
) - Properties > C/C++ Build > Discovery Options > Cygwin C++ Compiler > Added
-std=c++0x
to the end of Compiler invocation arguments (and I've tried-std=c++11
) - Cleared discovered entries
I've also tried adding __GXX_EXPERIMENTAL_CXX0X__
to my Symbols.
I'm using the Cygwin + GCC 4.8.2 compiler and Eclipse Indigo (with the latest CDT updates) if that helps.
Thanks!
Oh, and on a side note, does anyone know if Eclipse CDT is going to eventually support C++11 without having to go through all this trouble?