|Re: Eclipse CDT Juno, C++11, GCC 4.8 on OS X Lion and MLion [message #1004048 is a reply to message #923059]
||Tue, 22 January 2013 08:51
| x t
Registered: January 2013
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.
Powered by FUDForum
. Page generated in 0.01450 seconds