patches/gcc/4.0.3/160-index_macro.patch
changeset 1603 e0ef539e23d9
parent 1582 1fd08b889aa3
child 1604 b3f0173f10f3
     1.1 --- a/patches/gcc/4.0.3/160-index_macro.patch	Wed Oct 21 18:08:31 2009 +0200
     1.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.3 @@ -1,24 +0,0 @@
     1.4 ---- gcc-4.1.0/libstdc++-v3/include/ext/rope.mps	2006-03-24 01:49:51 +0100
     1.5 -+++ gcc-4.1.0/libstdc++-v3/include/ext/rope	2006-03-24 01:49:37 +0100
     1.6 -@@ -59,6 +59,9 @@
     1.7 - #include <bits/allocator.h>
     1.8 - #include <ext/hash_fun.h>
     1.9 - 
    1.10 -+/* cope w/ index defined as macro, SuSv3 proposal */
    1.11 -+#undef index
    1.12 -+
    1.13 - # ifdef __GC
    1.14 - #   define __GC_CONST const
    1.15 - # else
    1.16 ---- gcc-4.1.0/libstdc++-v3/include/ext/ropeimpl.h.mps	2006-03-24 01:50:04 +0100
    1.17 -+++ gcc-4.1.0/libstdc++-v3/include/ext/ropeimpl.h	2006-03-24 01:50:28 +0100
    1.18 -@@ -53,6 +53,9 @@
    1.19 - #include <ext/memory> // For uninitialized_copy_n
    1.20 - #include <ext/numeric> // For power
    1.21 - 
    1.22 -+/* cope w/ index defined as macro, SuSv3 proposal */
    1.23 -+#undef index
    1.24 -+
    1.25 - namespace __gnu_cxx
    1.26 - {
    1.27 -   using std::size_t;