This is the mail archive of the mailing list for the GCC project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: rename c1x-*.c to c11-*.c

On Oct 22, 2013, at 2:29 PM, Joseph S. Myers <> wrote:
> There's a whole g++.dg/cpp0x directory of tests, many of them using 
> -std=c++0x, for which the same principle would also suggest using the 
> non-deprecated option and the name for the actual standard….

I agree.  C++11 looks nicer to my eye as well, and easier on the brain as one doesn't have to think about c++03 v c++11…  The doc said it was the same as c++11, so, I did that.  My fingers really didn't like changing 0x to 11.

This is just ++0x --> ++11 in gcc/testsuite/g++.dg/cpp0x.

Tested on x86_64-apple-darwin12.

Committed revision 203939.

Index: Wliteral-suffix.C
--- Wliteral-suffix.C	(revision 203938)
+++ Wliteral-suffix.C	(working copy)
@@ -1,5 +1,5 @@
// { dg-do run }
-// { dg-options "-std=c++0x" }
+// { dg-options "-std=c++11" }

// Make sure -Wliteral-suffix is enabled by default and
// triggers as expected.

[ … ]  rest omitted for brevity (and to get past the mail filter).

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]