Patchwork [c++-concepts] Default to C++1y

login
register
mail settings
Submitter Gabriel Dos Reis
Date March 29, 2013, 4:34 p.m.
Message ID <877gkqw4fp.fsf@euclid.axiomatics.org>
Download mbox | patch
Permalink /patch/232459/
State New
Headers show

Comments

Gabriel Dos Reis - March 29, 2013, 4:34 p.m.
Andrew,

As we discussed a couple of days ago, this patch defaults us to C++1y.
Applied to branch.

-- Gaby

2013-03-29  Gabriel Dos Reis  <gdr@integrable-solutions.net>

	* c-common.c (cxx_dialect): Default to C++1y.

Patch

Index: gcc/c-family/c-common.c
===================================================================
--- gcc/c-family/c-common.c	(revision 197241)
+++ gcc/c-family/c-common.c	(working copy)
@@ -240,7 +240,7 @@ 
 
 /* The C++ dialect being used. C++11 is the default.  */
 
-enum cxx_dialect cxx_dialect = cxx11;
+enum cxx_dialect cxx_dialect = cxx1y;
 
 /* Maximum template instantiation depth.  This limit exists to limit the
    time it takes to notice excessively recursive template instantiations.