GCC 4.8 Aims To Switch To C++ Mode By Default
Written by Michael Larabel in Compiler on 5 April 2012 at 10:55 AM EDT. 3 Comments
Google has proposed the switch to C++ by default for the GNU Compiler Collection happens for the current in-development GCC 4.8 release.

Diego Novillo, one of Google's lead GCC developers, proposed on the project's mailing list of Switching to C++ by default in 4.8. "We would like to start the process to make GCC 4.8 build in C++ mode by default. The mechanics of the change are simple enough. I volunteer to test changing the default on all primary targets (assuming I can get them from the GCC build farm)."

On the GCC Wiki they have begun to document their recommended C++ coding conventions when working on GCC in C++ rather than C.

As far as why this move is happening, read GCC Compiler Migrating To Be More C++ Based.

Another hot discussion item right now on the GCC mailing list is also the possibility of setting -Wall by default, but that's being looked at as a very contentious item. That discussion thread can be found here.

About The Author
Author picture

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 10,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 or contacted via MichaelLarabel.com.

Related Compiler News
Popular News
Trending Reviews & Featured Articles