summaryrefslogtreecommitdiff
path: root/packages/gcc/gcc-4.1.1/304-index_macro.patch
diff options
context:
space:
mode:
authorFlorian Boor <florian.boor@kernelconcepts.de>2006-06-19 21:33:47 +0000
committerOpenEmbedded Project <openembedded-devel@lists.openembedded.org>2006-06-19 21:33:47 +0000
commitd8aaeca2ad195be3be0bde2ffccf371184d00a70 (patch)
treef8e2488cc3987338968661769699773654e13247 /packages/gcc/gcc-4.1.1/304-index_macro.patch
parenta92f4b1b919577821c18e65ea0a6ade1cfddc8a2 (diff)
parentcccc0c41c26272f9df82ddd32e58c1fd33a1aef2 (diff)
merge of 67ad681c17b58ee0ff1e672b4aa634ab523a9e11
and f964e908fbdc16f8a354efde04a6cd7a81ce0a6a
Diffstat (limited to 'packages/gcc/gcc-4.1.1/304-index_macro.patch')
-rw-r--r--packages/gcc/gcc-4.1.1/304-index_macro.patch24
1 files changed, 24 insertions, 0 deletions
diff --git a/packages/gcc/gcc-4.1.1/304-index_macro.patch b/packages/gcc/gcc-4.1.1/304-index_macro.patch
new file mode 100644
index 0000000000..1fac112fa9
--- /dev/null
+++ b/packages/gcc/gcc-4.1.1/304-index_macro.patch
@@ -0,0 +1,24 @@
+--- gcc-4.1.0/libstdc++-v3/include/ext/rope.mps 2006-03-24 01:49:51 +0100
++++ gcc-4.1.0/libstdc++-v3/include/ext/rope 2006-03-24 01:49:37 +0100
+@@ -59,6 +59,9 @@
+ #include <bits/allocator.h>
+ #include <ext/hash_fun.h>
+
++/* cope w/ index defined as macro, SuSv3 proposal */
++#undef index
++
+ # ifdef __GC
+ # define __GC_CONST const
+ # else
+--- gcc-4.1.0/libstdc++-v3/include/ext/ropeimpl.h.mps 2006-03-24 01:50:04 +0100
++++ gcc-4.1.0/libstdc++-v3/include/ext/ropeimpl.h 2006-03-24 01:50:28 +0100
+@@ -53,6 +53,9 @@
+ #include <ext/memory> // For uninitialized_copy_n
+ #include <ext/numeric> // For power
+
++/* cope w/ index defined as macro, SuSv3 proposal */
++#undef index
++
+ namespace __gnu_cxx
+ {
+ using std::size_t;