304-index_macro.patch 735 B

123456789101112131415161718192021222324
  1. --- gcc-4.1.0/libstdc++-v3/include/ext/rope.mps 2006-03-24 01:49:51 +0100
  2. +++ gcc-4.1.0/libstdc++-v3/include/ext/rope 2006-03-24 01:49:37 +0100
  3. @@ -59,6 +59,9 @@
  4. #include <bits/allocator.h>
  5. #include <ext/hash_fun.h>
  6. +/* cope w/ index defined as macro, SuSv3 proposal */
  7. +#undef index
  8. +
  9. # ifdef __GC
  10. # define __GC_CONST const
  11. # else
  12. --- gcc-4.1.0/libstdc++-v3/include/ext/ropeimpl.h.mps 2006-03-24 01:50:04 +0100
  13. +++ gcc-4.1.0/libstdc++-v3/include/ext/ropeimpl.h 2006-03-24 01:50:28 +0100
  14. @@ -53,6 +53,9 @@
  15. #include <ext/memory> // For uninitialized_copy_n
  16. #include <ext/numeric> // For power
  17. +/* cope w/ index defined as macro, SuSv3 proposal */
  18. +#undef index
  19. +
  20. _GLIBCXX_BEGIN_NAMESPACE(__gnu_cxx)
  21. using std::size_t;