Eclipse Community Forums - RDF feed
https://www.eclipse.org/forums/
Eclipse Community ForumsEclipse CDT Juno, C++11, GCC 4.8 on OS X Lion and MLion
https://www.eclipse.org/forums/index.php/mv/msg/384257/923059/#msg_923059
I've done what was recommended here, but it doesn't work out for me: http://www.eclipse.org/forums/index.php/mv/msg/373462/909018/#msg_909018
My current configuration is: Eclipse CDT Juno, C++11, GCC 4.8 (from HPC OS X) on OS X Lion, i've installed GCC 4.8 to /usr/local/
Does anyone have any advice on this?]]>Andrew Tchieu2012-09-25T15:13:20-00:00Re: Eclipse CDT Juno, C++11, GCC 4.8 on OS X Lion and MLion
https://www.eclipse.org/forums/index.php/mv/msg/384257/1004048/#msg_1004048
I have tested on Windows platform, and it works! C++11 new key words and syntax are correctly recognized and accepted. Hopefully it will help you.
Select the Properties window from the Project menu. Go to the Settings sub-menu under C/C++ Build.
Select [ All configurations ] at the top, and add the option -std=c++11 to the field Other flags Under both GCC C++ Compiler/Miscellaneous and GCC C++ Linker/Miscellaneous.
Under C/C++ General (again in project properties), find the Preprocessor Include Path and go to the Providers Tab. Deselect all except CDT GCC Builtin Compiler Settings. Then untag Share settings entries ... . Add the option -std=c++11 to the text box called Command to get compiler specs.
Go to paths and symbols (again under Under C/C++ General). Selects the Symbols tab, click restore defaults, and then click Apply.
Btw, CDT (Indexer, code completion) is working fine now with clang++3.4, CDT (3.2.0.201306112328) and Eclipse (N20130624-2000).]]>Wesley Mesquita2013-06-27T02:35:36-00:00Re: Eclipse CDT Juno, C++11, GCC 4.8 on OS X Lion and MLion
https://www.eclipse.org/forums/index.php/mv/msg/384257/1703487/#msg_1703487
Rich Horner2015-08-01T07:44:19-00:00