summaryrefslogtreecommitdiff
path: root/meta/recipes-devtools/gcc/gcc-4.6.0/gcc-4_6-branch-backports/0021-c.opt-Add-std-c-03.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-devtools/gcc/gcc-4.6.0/gcc-4_6-branch-backports/0021-c.opt-Add-std-c-03.patch')
-rw-r--r--meta/recipes-devtools/gcc/gcc-4.6.0/gcc-4_6-branch-backports/0021-c.opt-Add-std-c-03.patch26
1 files changed, 26 insertions, 0 deletions
diff --git a/meta/recipes-devtools/gcc/gcc-4.6.0/gcc-4_6-branch-backports/0021-c.opt-Add-std-c-03.patch b/meta/recipes-devtools/gcc/gcc-4.6.0/gcc-4_6-branch-backports/0021-c.opt-Add-std-c-03.patch
new file mode 100644
index 000000000..8b4c762d3
--- /dev/null
+++ b/meta/recipes-devtools/gcc/gcc-4.6.0/gcc-4_6-branch-backports/0021-c.opt-Add-std-c-03.patch
@@ -0,0 +1,26 @@
+From e8c1376d80e89383a6eff16349bf2071b571a47f Mon Sep 17 00:00:00 2001
+From: jason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>
+Date: Tue, 29 Mar 2011 14:23:59 +0000
+Subject: [PATCH 021/200] * c.opt: Add -std=c++03.
+
+git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_6-branch@171662 138bc75d-0d04-0410-961f-82ee72b054a4
+
+index bb928fa..fe746e2 100644
+--- a/gcc/c-family/c.opt
++++ b/gcc/c-family/c.opt
+@@ -1133,7 +1133,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++
+--
+1.7.0.4
+