Skip to main content



      Home
Home » Language IDEs » C / C++ IDE (CDT) » How to set by default the C++11 for all projects ?(hot to set c++11 by default)
How to set by default the C++11 for all projects ? [message #1690574] Sun, 29 March 2015 04:13 Go to next message
Eclipse UserFriend
I have the last version of eclipse ( Eclipse Luna ).
How can I set one time but forever, all new projects which I create to use C++ 11 ??

Until now i have found the way to set this , for every new project. Because this is little tired, are there any (general) option to in order to regulate for all new projects without to set in every new project ??

Thanks in advance. Smile
Re: How to set by default the C++11 for all projects ? [message #1690913 is a reply to message #1690574] Tue, 31 March 2015 17:20 Go to previous messageGo to next message
Eclipse UserFriend
Preferences | Settings | Discovery Tab
Then Select whatever toolchain you're using (i.e. CDT GCC Built-in Compiler Settings [Shared]
Edit the line:
${COMMAND} ${FLAGS} -E -P -v -dD "${INPUTS}"
to
${COMMAND} ${FLAGS} -std=c++11 -E -P -v -dD "${INPUTS}"
Re: How to set by default the C++11 for all projects ? [message #1711806 is a reply to message #1690913] Mon, 19 October 2015 16:43 Go to previous message
Eclipse UserFriend
David Thiessen wrote on Tue, 31 March 2015 21:20
Preferences | Settings | Discovery Tab
Then Select whatever toolchain you're using (i.e. CDT GCC Built-in Compiler Settings [Shared]
Edit the line:
${COMMAND} ${FLAGS} -E -P -v -dD "${INPUTS}"
to
${COMMAND} ${FLAGS} -std=c++11 -E -P -v -dD "${INPUTS}"


I did that, but the problem is still not sold Sad

Specifically I followed those steps:
Windows -> Preferences -> C/C++ -> Build -> Setting ->Tab "Discovery"
I did what you told me, but even in every new project, I have to set the version.

I want to set it once and forever.
Previous Topic:Arduino C++ IDE for Eclipse Windows, application build fails
Next Topic:Missing "Run" Menu/Toolbar
Goto Forum:
  


Current Time: Fri Jul 18 10:59:44 EDT 2025

Powered by FUDForum. Page generated in 0.10020 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top