From c7dc8804a86017317cd7d3e5f65f715d5c4d5da2 Mon Sep 17 00:00:00 2001 From: Jason Merrill Date: Fri, 25 Mar 2011 12:16:40 -0400 Subject: [PATCH] * c.opt: Add -std=c++03. From-SVN: r171460 --- gcc/c-family/ChangeLog | 4 ++++ gcc/c-family/c.opt | 6 +++++- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/gcc/c-family/ChangeLog b/gcc/c-family/ChangeLog index 597aeefd388..f9f625c3335 100644 --- a/gcc/c-family/ChangeLog +++ b/gcc/c-family/ChangeLog @@ -1,3 +1,7 @@ +2011-03-25 Jason Merrill + + * c.opt: Add -std=c++03. + 2011-03-22 Eric Botcazou * c-ada-spec.c (dump_ada_template): Skip non-class instances. diff --git a/gcc/c-family/c.opt b/gcc/c-family/c.opt index 0061ec57f52..4c4727f31c5 100644 --- a/gcc/c-family/c.opt +++ b/gcc/c-family/c.opt @@ -1137,7 +1137,11 @@ Remap file names when including files std=c++98 C++ ObjC++ -Conform to the ISO 1998 C++ standard +Conform to the ISO 1998 C++ standard revised by the 2003 technical corrigendum + +std=c++03 +C++ ObjC++ Alias(std=c++98) +Conform to the ISO 1998 C++ standard revised by the 2003 technical corrigendum std=c++0x C++ ObjC++ -- 2.30.2