UPDATE: The original answer has been deprecated in the last 28 months. According to the noble answer , GCC 6.1 supports C ++ 14 with default GNU extensions. GCC 6.1 was released on April 27, 2016. I am very surprised, but very glad to see such a quick adoption of the new standard!
As for the rest of the original answer, I still see the value in that this part answers how to make certain "default" flags. So I saved it below.
Is there a plan when I can say [...]
You can define default flags in the Makefile, and then all you have to say is make .
Accepted answer How to enable C ++ 11 in gcc? you should start (or a few makefile tutorial ).
Another tip that often appears here in Stackoverflow is to add the alias bash alias g++="g++ --std=c++0x" , see here . However, I personally did not do this, but this can lead to unpleasant surprises; there have been changes in C ++ 11. I would create my own makefile and type simply make .
Ali Jan 19 '14 at 22:51 2014-01-19 22:51
source share