C++11 Again... [message #1709914] |
Thu, 01 October 2015 17:26  |
Eclipse User |
|
|
|
Hey Guys...
Sorry to ask... but this -std=c++11 bug seems to have existed since 2010.
Google throws up many many many hits, but none of the hacks for the previous versions seem to work for Mars... it seems the settings layout has changed too much?
Perhaps its time to start shipping CDT with C++11 enabled by default?
Anyway, ot the point....
Could anyone please please please point me to the correct setting for enabling c++11 in Mars?
I Import my project from Git, Import via new project wizzard.
Select C++ Executable. ( I've alos tried Makefile roject and autotools project ).
I've managed to get the actual code to compile..
I create the makefile on the command line using autoconf/automake.
Then i run configure, and point eclipse at the generated makefile.
Macause Makefile.am sets -std=c++11, then all compiles fine.
The problem is with code completion and indexing.
std::shared_ptr, and all other c++11 features are dead.
Any ideas?
Thankyou very much.
Chris.
|
|
|
|
|
|
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.03658 seconds