GCC 6 Will Look To Switch To C++11 By Default

Written by Michael Larabel in GNU on 7 May 2015 at 03:01 PM EDT. 7 Comments
GNU
With GCC 5 the C compiler changed its default to C11/GNU11 and now for the next version, GCC 6, C++11 might become the default C++ language compiler target.

Jason Merrill of Red Hat today mentioned, "I think it's time to switch to C++11 as the default C++ dialect for GCC 6." He's currently collecting feedback, but it will most likely happen for GCC 6 that's due out in 2016.

GCC has supported C++11 for quite a while now and in the recent releases it's provided solid C++11 support and initial support for C++14. It's good to see one of the GCC 6 features will likely be defaulting to provide C++11 support to avoid having to pass -std=c++11 to projects.
Related News
About The Author
Michael Larabel

Michael Larabel is the principal author of Phoronix.com and founded the site in 2004 with a focus on enriching the Linux hardware experience. Michael has written more than 20,000 articles covering the state of Linux hardware support, Linux performance, graphics drivers, and other topics. Michael is also the lead developer of the Phoronix Test Suite, Phoromatic, and OpenBenchmarking.org automated benchmarking software. He can be followed via Twitter, LinkedIn, or contacted via MichaelLarabel.com.

Popular News This Week