aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorJason Merrill <jason@redhat.com>2011-03-25 12:16:40 -0400
committerJason Merrill <jason@gcc.gnu.org>2011-03-25 12:16:40 -0400
commitc7dc8804a86017317cd7d3e5f65f715d5c4d5da2 (patch)
tree5134c9765135bcccaf72bb9556eccfac0261d0c2 /gcc
parent6510e8bbf0b5510ee5608d1c5f3bd9a470b7f989 (diff)
downloadgcc-c7dc8804a86017317cd7d3e5f65f715d5c4d5da2.zip
gcc-c7dc8804a86017317cd7d3e5f65f715d5c4d5da2.tar.gz
gcc-c7dc8804a86017317cd7d3e5f65f715d5c4d5da2.tar.bz2
* c.opt: Add -std=c++03.
From-SVN: r171460
Diffstat (limited to 'gcc')
-rw-r--r--gcc/c-family/ChangeLog4
-rw-r--r--gcc/c-family/c.opt6
2 files changed, 9 insertions, 1 deletions
diff --git a/gcc/c-family/ChangeLog b/gcc/c-family/ChangeLog
index 597aeef..f9f625c 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 0061ec5..4c4727f 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++