diff options
-rw-r--r-- | gcc/c-family/ChangeLog | 4 | ||||
-rw-r--r-- | gcc/c-family/c.opt | 6 |
2 files changed, 9 insertions, 1 deletions
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 <jason@redhat.com> + + * c.opt: Add -std=c++03. + 2011-03-22 Eric Botcazou <ebotcazou@adacore.com> * 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++ |