patches/gcc/4.0.4/304-index_macro.patch
changeset 747 d3e603e7c17c
parent 746 b150d6f590fc
child 748 61cd4eb6034d
     1.1 --- a/patches/gcc/4.0.4/304-index_macro.patch	Mon Jul 28 21:08:01 2008 +0000
     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;