gccxml_gem 0.9.3-x86-darwin-10

Sign up to get free protection for your applications and to get access to all the features.
Files changed (176) hide show
  1. data/Rakefile +84 -0
  2. data/bin/gccxml +0 -0
  3. data/bin/gccxml_cc1plus +0 -0
  4. data/gccxml.rb +57 -0
  5. data/share/doc/gccxml-0.9/Copyright.txt +55 -0
  6. data/share/doc/gccxml-0.9/gccxml.html +168 -0
  7. data/share/doc/gccxml-0.9/gccxml.txt +293 -0
  8. data/share/gccxml-0.9/GCC/2.95/algorithm +76 -0
  9. data/share/gccxml-0.9/GCC/2.95/bitset +17 -0
  10. data/share/gccxml-0.9/GCC/2.95/cctype +24 -0
  11. data/share/gccxml-0.9/GCC/2.95/clocale +14 -0
  12. data/share/gccxml-0.9/GCC/2.95/cmath +33 -0
  13. data/share/gccxml-0.9/GCC/2.95/complex +38 -0
  14. data/share/gccxml-0.9/GCC/2.95/csetjmp +13 -0
  15. data/share/gccxml-0.9/GCC/2.95/csignal +14 -0
  16. data/share/gccxml-0.9/GCC/2.95/cstdarg +12 -0
  17. data/share/gccxml-0.9/GCC/2.95/cstddef +13 -0
  18. data/share/gccxml-0.9/GCC/2.95/cstdio +55 -0
  19. data/share/gccxml-0.9/GCC/2.95/cstdlib +66 -0
  20. data/share/gccxml-0.9/GCC/2.95/cstring +34 -0
  21. data/share/gccxml-0.9/GCC/2.95/ctime +24 -0
  22. data/share/gccxml-0.9/GCC/2.95/cwchar +65 -0
  23. data/share/gccxml-0.9/GCC/2.95/cwctype +31 -0
  24. data/share/gccxml-0.9/GCC/2.95/deque +19 -0
  25. data/share/gccxml-0.9/GCC/2.95/exception +20 -0
  26. data/share/gccxml-0.9/GCC/2.95/fstream +23 -0
  27. data/share/gccxml-0.9/GCC/2.95/functional +64 -0
  28. data/share/gccxml-0.9/GCC/2.95/gccxml_bitset +1066 -0
  29. data/share/gccxml-0.9/GCC/2.95/iomanip +20 -0
  30. data/share/gccxml-0.9/GCC/2.95/iosfwd +20 -0
  31. data/share/gccxml-0.9/GCC/2.95/iostream +27 -0
  32. data/share/gccxml-0.9/GCC/2.95/iterator +39 -0
  33. data/share/gccxml-0.9/GCC/2.95/list +19 -0
  34. data/share/gccxml-0.9/GCC/2.95/map +20 -0
  35. data/share/gccxml-0.9/GCC/2.95/memory +21 -0
  36. data/share/gccxml-0.9/GCC/2.95/new +13 -0
  37. data/share/gccxml-0.9/GCC/2.95/numeric +15 -0
  38. data/share/gccxml-0.9/GCC/2.95/pthread.h +16 -0
  39. data/share/gccxml-0.9/GCC/2.95/queue +20 -0
  40. data/share/gccxml-0.9/GCC/2.95/set +20 -0
  41. data/share/gccxml-0.9/GCC/2.95/sstream +24 -0
  42. data/share/gccxml-0.9/GCC/2.95/stack +19 -0
  43. data/share/gccxml-0.9/GCC/2.95/std/bastring.cc +524 -0
  44. data/share/gccxml-0.9/GCC/2.95/std/complext.h +397 -0
  45. data/share/gccxml-0.9/GCC/2.95/std/dcomplex.h +92 -0
  46. data/share/gccxml-0.9/GCC/2.95/std/fcomplex.h +88 -0
  47. data/share/gccxml-0.9/GCC/2.95/std/gslice_array.h +170 -0
  48. data/share/gccxml-0.9/GCC/2.95/std/indirect_array.h +157 -0
  49. data/share/gccxml-0.9/GCC/2.95/std/ldcomplex.h +96 -0
  50. data/share/gccxml-0.9/GCC/2.95/std/mask_array.h +154 -0
  51. data/share/gccxml-0.9/GCC/2.95/std/slice_array.h +156 -0
  52. data/share/gccxml-0.9/GCC/2.95/std/std_valarray.h +728 -0
  53. data/share/gccxml-0.9/GCC/2.95/std/straits.h +162 -0
  54. data/share/gccxml-0.9/GCC/2.95/std/valarray_meta.h +1035 -0
  55. data/share/gccxml-0.9/GCC/2.95/stdexcept +17 -0
  56. data/share/gccxml-0.9/GCC/2.95/stl_alloc.h +1057 -0
  57. data/share/gccxml-0.9/GCC/2.95/stl_bvector.h +836 -0
  58. data/share/gccxml-0.9/GCC/2.95/stl_deque.h +1699 -0
  59. data/share/gccxml-0.9/GCC/2.95/stl_list.h +843 -0
  60. data/share/gccxml-0.9/GCC/2.95/stl_tree.h +1331 -0
  61. data/share/gccxml-0.9/GCC/2.95/stl_vector.h +828 -0
  62. data/share/gccxml-0.9/GCC/2.95/string +26 -0
  63. data/share/gccxml-0.9/GCC/2.95/strstream +23 -0
  64. data/share/gccxml-0.9/GCC/2.95/typeinfo +11 -0
  65. data/share/gccxml-0.9/GCC/2.95/utility +25 -0
  66. data/share/gccxml-0.9/GCC/2.95/valarray +52 -0
  67. data/share/gccxml-0.9/GCC/2.95/vector +19 -0
  68. data/share/gccxml-0.9/GCC/2.96/sstream +305 -0
  69. data/share/gccxml-0.9/GCC/3.0/pthread.h +16 -0
  70. data/share/gccxml-0.9/GCC/3.1/pthread.h +16 -0
  71. data/share/gccxml-0.9/GCC/3.2/bits/fstream.tcc +500 -0
  72. data/share/gccxml-0.9/GCC/3.2/bits/gthr-default.h +585 -0
  73. data/share/gccxml-0.9/GCC/3.2/bits/istream.tcc +1207 -0
  74. data/share/gccxml-0.9/GCC/3.2/bits/locale_facets.h +1810 -0
  75. data/share/gccxml-0.9/GCC/3.2/bits/locale_facets.tcc +2397 -0
  76. data/share/gccxml-0.9/GCC/3.2/bits/messages_members.h +108 -0
  77. data/share/gccxml-0.9/GCC/3.2/bits/ostream.tcc +713 -0
  78. data/share/gccxml-0.9/GCC/3.2/bits/sstream.tcc +241 -0
  79. data/share/gccxml-0.9/GCC/3.2/bits/stl_deque.h +1682 -0
  80. data/share/gccxml-0.9/GCC/3.2/bits/stl_list.h +989 -0
  81. data/share/gccxml-0.9/GCC/3.2/bits/stl_tree.h +1462 -0
  82. data/share/gccxml-0.9/GCC/3.2/bits/stl_vector.h +1085 -0
  83. data/share/gccxml-0.9/GCC/3.2/bits/valarray_meta.h +1063 -0
  84. data/share/gccxml-0.9/GCC/3.2/fstream +579 -0
  85. data/share/gccxml-0.9/GCC/3.2/pthread.h +16 -0
  86. data/share/gccxml-0.9/GCC/3.2/sstream +384 -0
  87. data/share/gccxml-0.9/GCC/3.3/bits/fstream.tcc +530 -0
  88. data/share/gccxml-0.9/GCC/3.3/bits/list.tcc +378 -0
  89. data/share/gccxml-0.9/GCC/3.3/bits/locale_facets.h +2050 -0
  90. data/share/gccxml-0.9/GCC/3.3/bits/messages_members.h +108 -0
  91. data/share/gccxml-0.9/GCC/3.3/bits/sstream.tcc +243 -0
  92. data/share/gccxml-0.9/GCC/3.3/bits/stl_deque.h +1603 -0
  93. data/share/gccxml-0.9/GCC/3.3/bits/stl_list.h +1167 -0
  94. data/share/gccxml-0.9/GCC/3.3/bits/stl_tree.h +1462 -0
  95. data/share/gccxml-0.9/GCC/3.3/bits/stl_vector.h +992 -0
  96. data/share/gccxml-0.9/GCC/3.3/bits/valarray_meta.h +1135 -0
  97. data/share/gccxml-0.9/GCC/3.3/fstream +842 -0
  98. data/share/gccxml-0.9/GCC/3.3/gccxml_builtins.h +22 -0
  99. data/share/gccxml-0.9/GCC/3.3/sstream +638 -0
  100. data/share/gccxml-0.9/GCC/3.4/bits/gthr-default.h +669 -0
  101. data/share/gccxml-0.9/GCC/3.4/gccxml_builtins.h +91 -0
  102. data/share/gccxml-0.9/GCC/4.0/emmintrin.h +5 -0
  103. data/share/gccxml-0.9/GCC/4.0/gccxml_apple_emmintrin.h +1037 -0
  104. data/share/gccxml-0.9/GCC/4.0/gccxml_apple_mmintrin.h +669 -0
  105. data/share/gccxml-0.9/GCC/4.0/gccxml_apple_xmmintrin.h +870 -0
  106. data/share/gccxml-0.9/GCC/4.0/gccxml_builtins.h +128 -0
  107. data/share/gccxml-0.9/GCC/4.0/gccxml_gnu_emmintrin.h +977 -0
  108. data/share/gccxml-0.9/GCC/4.0/gccxml_gnu_mmintrin.h +636 -0
  109. data/share/gccxml-0.9/GCC/4.0/gccxml_gnu_xmmintrin.h +833 -0
  110. data/share/gccxml-0.9/GCC/4.0/mmintrin.h +5 -0
  111. data/share/gccxml-0.9/GCC/4.0/xmmintrin.h +5 -0
  112. data/share/gccxml-0.9/GCC/4.1/bits/gthr-default.h +622 -0
  113. data/share/gccxml-0.9/GCC/4.1/emmintrin.h +5 -0
  114. data/share/gccxml-0.9/GCC/4.1/gccxml_apple_emmintrin.h +1509 -0
  115. data/share/gccxml-0.9/GCC/4.1/gccxml_apple_mmintrin.h +942 -0
  116. data/share/gccxml-0.9/GCC/4.1/gccxml_apple_xmmintrin.h +1192 -0
  117. data/share/gccxml-0.9/GCC/4.1/gccxml_builtins.h +131 -0
  118. data/share/gccxml-0.9/GCC/4.1/gccxml_gnu_emmintrin.h +1004 -0
  119. data/share/gccxml-0.9/GCC/4.1/gccxml_gnu_mmintrin.h +637 -0
  120. data/share/gccxml-0.9/GCC/4.1/gccxml_gnu_xmmintrin.h +834 -0
  121. data/share/gccxml-0.9/GCC/4.1/mmintrin.h +5 -0
  122. data/share/gccxml-0.9/GCC/4.1/xmmintrin.h +5 -0
  123. data/share/gccxml-0.9/GCC/4.2/emmintrin.h +5 -0
  124. data/share/gccxml-0.9/GCC/4.2/gccxml_apple_emmintrin.h +1509 -0
  125. data/share/gccxml-0.9/GCC/4.2/gccxml_apple_mmintrin.h +942 -0
  126. data/share/gccxml-0.9/GCC/4.2/gccxml_apple_xmmintrin.h +1192 -0
  127. data/share/gccxml-0.9/GCC/4.2/gccxml_builtins.h +131 -0
  128. data/share/gccxml-0.9/GCC/4.2/gccxml_gnu_emmintrin.h +1013 -0
  129. data/share/gccxml-0.9/GCC/4.2/gccxml_gnu_mmintrin.h +663 -0
  130. data/share/gccxml-0.9/GCC/4.2/gccxml_gnu_xmmintrin.h +860 -0
  131. data/share/gccxml-0.9/GCC/4.2/mmintrin.h +5 -0
  132. data/share/gccxml-0.9/GCC/4.2/xmmintrin.h +5 -0
  133. data/share/gccxml-0.9/GCC/4.3/emmintrin.h +1043 -0
  134. data/share/gccxml-0.9/GCC/4.3/gccxml_builtins.h +183 -0
  135. data/share/gccxml-0.9/GCC/4.3/mmintrin.h +663 -0
  136. data/share/gccxml-0.9/GCC/4.3/xmmintrin.h +867 -0
  137. data/share/gccxml-0.9/GCC/4.4/bits/c++config.h +1431 -0
  138. data/share/gccxml-0.9/GCC/4.4/emmintrin.h +1041 -0
  139. data/share/gccxml-0.9/GCC/4.4/gccxml_builtins.h +153 -0
  140. data/share/gccxml-0.9/GCC/4.4/mmintrin.h +662 -0
  141. data/share/gccxml-0.9/GCC/4.4/xmmintrin.h +864 -0
  142. data/share/gccxml-0.9/GCC/4.5/gccxml_builtins.h +154 -0
  143. data/share/gccxml-0.9/GCC/4.5/iomanip +349 -0
  144. data/share/gccxml-0.9/GCC/COPYING.RUNTIME +73 -0
  145. data/share/gccxml-0.9/GCC/COPYING3 +674 -0
  146. data/share/gccxml-0.9/IBM/8.0/adapt_headers.sh +34 -0
  147. data/share/gccxml-0.9/IBM/8.0/stdlib.h.patch +27 -0
  148. data/share/gccxml-0.9/IBM/8.0/xstring.patch +19 -0
  149. data/share/gccxml-0.9/IBM/README +8 -0
  150. data/share/gccxml-0.9/IBM/find_flags +51 -0
  151. data/share/gccxml-0.9/IBM/find_flags_common +48 -0
  152. data/share/gccxml-0.9/Intel/find_flags +56 -0
  153. data/share/gccxml-0.9/Intel/pthread.h +16 -0
  154. data/share/gccxml-0.9/MIPSpro/7.3/exception +9 -0
  155. data/share/gccxml-0.9/MIPSpro/7.3/gccxml_mpro_internals.h +21 -0
  156. data/share/gccxml-0.9/MIPSpro/7.3/iomanip +161 -0
  157. data/share/gccxml-0.9/MIPSpro/7.3/ostream +9 -0
  158. data/share/gccxml-0.9/MIPSpro/7.3/stddef.h +9 -0
  159. data/share/gccxml-0.9/MIPSpro/7.3/stl_config.h +9 -0
  160. data/share/gccxml-0.9/MIPSpro/7.3/stl_locale.h +17 -0
  161. data/share/gccxml-0.9/MIPSpro/7.3/stl_monetary.h +14 -0
  162. data/share/gccxml-0.9/MIPSpro/7.3/stl_numeric_facets.h +13 -0
  163. data/share/gccxml-0.9/MIPSpro/7.3/stl_threads.h +11 -0
  164. data/share/gccxml-0.9/MIPSpro/7.3/string +18 -0
  165. data/share/gccxml-0.9/MIPSpro/find_flags +70 -0
  166. data/share/gccxml-0.9/MIPSpro/mipspro_defs.cxx +63 -0
  167. data/share/gccxml-0.9/Sun/5.8/Cstd.patch +156 -0
  168. data/share/gccxml-0.9/Sun/5.8/adapt_headers.sh +32 -0
  169. data/share/gccxml-0.9/Sun/5.8/std-5.10.patch +22 -0
  170. data/share/gccxml-0.9/Sun/README +8 -0
  171. data/share/gccxml-0.9/Sun/find_flags +51 -0
  172. data/share/gccxml-0.9/Sun/find_flags_common +42 -0
  173. data/share/gccxml-0.9/gccxml_config +2 -0
  174. data/share/gccxml-0.9/gccxml_identify_compiler.cc +13 -0
  175. data/share/man/man1/gccxml.1 +246 -0
  176. metadata +245 -0
@@ -0,0 +1,9 @@
1
+ #ifndef __SGI_STL_OSTREAM_GCCXML
2
+ #define __SGI_STL_OSTREAM_GCCXML
3
+
4
+ extern bool uncaught_exception();
5
+
6
+ #include_next <ostream>
7
+
8
+ #endif
9
+
@@ -0,0 +1,9 @@
1
+ #ifndef __STDDEF_H_GCCXML
2
+ #define __STDDEF_H_GCCXML
3
+
4
+ #define _WCHAR_T
5
+
6
+ #include_next <stddef.h>
7
+
8
+ #endif
9
+
@@ -0,0 +1,9 @@
1
+ #ifndef __STL_CONFIG_H_GCCXML
2
+ #define __STL_CONFIG_H_GCCXML
3
+
4
+ #include <gccxml_mpro_internals.h>
5
+
6
+ #include_next <stl_config.h>
7
+
8
+ #endif
9
+
@@ -0,0 +1,17 @@
1
+ #ifndef __SGI_STL_INTERNAL_LOCALE_H_GCCXML
2
+ #define __SGI_STL_INTERNAL_LOCALE_H_GCCXML
3
+
4
+ #include <stl_config.h>
5
+
6
+ __STL_BEGIN_NAMESPACE
7
+
8
+ class locale;
9
+ template <class _CharT> class collate;
10
+ template <class _Facet> inline const _Facet& use_facet(const locale& __loc);
11
+
12
+ __STL_END_NAMESPACE
13
+
14
+ #include_next <stl_locale.h>
15
+
16
+ #endif
17
+
@@ -0,0 +1,14 @@
1
+ #ifndef __SGI_STL_INTERNAL_MONETARY_H_GCCXML
2
+ #define __SGI_STL_INTERNAL_MONETARY_H_GCCXML
3
+
4
+ __STL_BEGIN_NAMESPACE
5
+
6
+ template <typename T, bool> class moneypunct;
7
+
8
+ __STL_END_NAMESPACE
9
+
10
+ #include_next <stl_monetary.h>
11
+
12
+ #endif
13
+
14
+
@@ -0,0 +1,13 @@
1
+ #ifndef __SGI_STL_INTERNAL_NUMERIC_FACETS_H_GCCXML
2
+ #define __SGI_STL_INTERNAL_NUMERIC_FACETS_H_GCCXML
3
+
4
+ __STL_BEGIN_NAMESPACE
5
+
6
+ template<class T> class numeric_limits;
7
+
8
+ __STL_END_NAMESPACE
9
+
10
+ #include_next <stl_numeric_facets.h>
11
+
12
+ #endif
13
+
@@ -0,0 +1,11 @@
1
+ #ifndef __SGI_STL_INTERNAL_THREADS_H_GCCXML
2
+ #define __SGI_STL_INTERNAL_THREADS_H_GCCXML
3
+
4
+ #define __add_and_fetch(__l,__v) add_then_test((unsigned long*)__l,__v)
5
+ #define __test_and_set(__l,__v) test_and_set(__l,__v)
6
+ #define __lock_release(__l) asm("sync"); *__l = 0
7
+
8
+ #include_next <stl_threads.h>
9
+
10
+ #endif
11
+
@@ -0,0 +1,18 @@
1
+ #ifndef __SGI_STL_STRING_GCCXML
2
+ #define __SGI_STL_STRING_GCCXML
3
+
4
+ #include <stl_config.h>
5
+
6
+ __STL_BEGIN_NAMESPACE
7
+
8
+ class locale;
9
+ template <class charT> class ctype;
10
+ template <class _Facet> inline const _Facet& use_facet(const locale& __loc);
11
+ class ctype_base;
12
+
13
+ __STL_END_NAMESPACE
14
+
15
+ #include_next <string>
16
+
17
+ #endif
18
+
@@ -0,0 +1,70 @@
1
+ #!/bin/sh
2
+ #=============================================================================
3
+ #
4
+ # Program: GCC-XML
5
+ # Module: $RCSfile: find_flags,v $
6
+ # Language: C++
7
+ # Date: $Date: 2009-09-22 13:16:01 $
8
+ # Version: $Revision: 1.6 $
9
+ #
10
+ # Copyright (c) 2002 Kitware, Inc., Insight Consortium. All rights reserved.
11
+ # See Copyright.txt for details.
12
+ #
13
+ # This software is distributed WITHOUT ANY WARRANTY; without even
14
+ # the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
15
+ # PURPOSE. See the above copyright notices for more information.
16
+ #
17
+ #=============================================================================
18
+
19
+ # Find the MIPSPro executable name.
20
+ if test "x$1" = "x" ; then
21
+ if test "x${CXX}" = "x" ; then
22
+ CXX=CC
23
+ fi
24
+ else
25
+ CXX="$1"
26
+ shift
27
+ CXXFLAGS="$@"
28
+ fi
29
+
30
+ SELFDIR=`cd "\`dirname \"$0\"\`";pwd`
31
+
32
+ # This test input file checks for some builtin definitions in the
33
+ # compiler that are not displayed by the -v option. Its list was
34
+ # obtained by running "strings /usr/lib32/cmplrs/fecc" and testing for
35
+ # definitions with a giant version of the string below.
36
+ DEFS_FILE="${SELFDIR}/mipspro_defs.cxx"
37
+
38
+ # Find the macro definition options.
39
+ MACROS=`
40
+ ${CXX} ${CXXFLAGS} -E -v "${DEFS_FILE}" 2>&1 |
41
+ sed -n '/_COMPILER_VERSION/{s| '"${DEFS_FILE}"'.*$||
42
+ s/ -/\\
43
+ -/g;p;}' |
44
+ sed -n '/^-D.*$/{s/-D\([^=]*\)=\([^ ]\{1,\} .*\)/-D\1='\''\2'\''/;p;}' |
45
+ sed -n 'H;${g;s/\n/ /g;p;}'`
46
+
47
+ # Find the internally defined macros.
48
+ LANGSTD=`
49
+ ${CXX} ${CXXFLAGS} -E -v "${DEFS_FILE}" 2>&1 |
50
+ sed -n '/^D/ {s/^D/-D/;s/ /=/;p;}' |
51
+ sed -n 'H;${g;s/\n/ /g;p;}'`
52
+
53
+ # Find the include path options.
54
+ INCLUDES=`
55
+ ${CXX} ${CXXFLAGS} -E -v "${DEFS_FILE}" 2>&1 |
56
+ sed -n '/_COMPILER_VERSION/{s| '"${DEFS_FILE}"'.*$||
57
+ s/ -/\\
58
+ -/g;p;}' |
59
+ sed -n '/^-I.*$/{p;}' |
60
+ sed -n 'H;${g;s/\n/ /g;p;}'`
61
+
62
+ # The support headers are located where this script is.
63
+ SELFPATH=`echo $0 | sed -n '/\//{s/\/find_flags//;p;}'`
64
+ if test "x$SELFPATH" = "x" ; then SELFPATH="." ; fi
65
+ SELFPATH=`cd "$SELFPATH" ; pwd`
66
+ INCLUDES="-iwrapper\"$SELFPATH/7.3\" $INCLUDES"
67
+
68
+ # Format and print out the options.
69
+ OPTIONS="$MACROS $LANGSTD $INCLUDES"
70
+ echo $OPTIONS
@@ -0,0 +1,63 @@
1
+ #ifdef _BOOL
2
+ D_BOOL _BOOL
3
+ #endif
4
+ #ifdef _EXPLICIT_IS_KEYWORD
5
+ D_EXPLICIT_IS_KEYWORD _EXPLICIT_IS_KEYWORD
6
+ #endif
7
+ #ifdef _LIBC_IN_NAMESPACE_STD_
8
+ D_LIBC_IN_NAMESPACE_STD_ _LIBC_IN_NAMESPACE_STD_
9
+ #endif
10
+ #ifdef _MEMBER_TEMPLATES
11
+ D_MEMBER_TEMPLATES _MEMBER_TEMPLATES
12
+ #endif
13
+ #ifdef _MUTABLE_IS_KEYWORD
14
+ D_MUTABLE_IS_KEYWORD _MUTABLE_IS_KEYWORD
15
+ #endif
16
+ #ifdef _NAMESPACES
17
+ D_NAMESPACES _NAMESPACES
18
+ #endif
19
+ #ifdef _PARTIAL_SPECIALIZATION_OF_CLASS_TEMPLATES
20
+ D_PARTIAL_SPECIALIZATION_OF_CLASS_TEMPLATES _PARTIAL_SPECIALIZATION_OF_CLASS_TEMPLATES
21
+ #endif
22
+ #ifdef _STANDARD_C_PLUS_PLUS
23
+ D_STANDARD_C_PLUS_PLUS _STANDARD_C_PLUS_PLUS
24
+ #endif
25
+ #ifdef _TYPENAME_IS_KEYWORD
26
+ D_TYPENAME_IS_KEYWORD _TYPENAME_IS_KEYWORD
27
+ #endif
28
+ #ifdef _WCHAR_T
29
+ D_WCHAR_T _WCHAR_T
30
+ #endif
31
+ #ifdef _WCHAR_T_IS_KEYWORD
32
+ D_WCHAR_T_IS_KEYWORD _WCHAR_T_IS_KEYWORD
33
+ #endif
34
+ #ifdef __ANSI_CPP__
35
+ D__ANSI_CPP__ __ANSI_CPP__
36
+ #endif
37
+ #ifdef __ARRAY_OPERATORS
38
+ D__ARRAY_OPERATORS __ARRAY_OPERATORS
39
+ #endif
40
+ #ifdef __EDG_ABI_COMPATIBILITY_VERSION
41
+ D__EDG_ABI_COMPATIBILITY_VERSION __EDG_ABI_COMPATIBILITY_VERSION
42
+ #endif
43
+ #ifdef __EDG_RUNTIME_USES_NAMESPACES
44
+ D__EDG_RUNTIME_USES_NAMESPACES __EDG_RUNTIME_USES_NAMESPACES
45
+ #endif
46
+ #ifdef __EDG_VERSION__
47
+ D__EDG_VERSION__ __EDG_VERSION__
48
+ #endif
49
+ #ifdef __EDG__
50
+ D__EDG__ __EDG__
51
+ #endif
52
+ #ifdef __EXCEPTIONS
53
+ D__EXCEPTIONS __EXCEPTIONS
54
+ #endif
55
+ #ifdef __LIBC_MATH_OVERLOAD__
56
+ D__LIBC_MATH_OVERLOAD__ __LIBC_MATH_OVERLOAD__
57
+ #endif
58
+ #ifdef __RTTI
59
+ D__RTTI __RTTI
60
+ #endif
61
+ #ifdef __STDC__
62
+ D__STDC__ __STDC__
63
+ #endif
@@ -0,0 +1,156 @@
1
+ diff -r -u old/algorithm new/algorithm
2
+ --- old/algorithm 2009-06-05 10:01:07.000000000 +0200
3
+ +++ new/algorithm 2009-06-05 10:01:43.000000000 +0200
4
+ @@ -880,6 +880,11 @@
5
+ RandomAccessIterator last, Pointer buffer,
6
+ Distance buffer_size, T*, Compare comp);
7
+
8
+ +#if !defined(__MINMAX_DEFINED)
9
+ + template <class T>
10
+ + inline const T& (min)(const T& a, const T& b);
11
+ +#endif
12
+ +
13
+ template <class RandomAccessIterator, class Pointer, class Distance, class T>
14
+ inline void __stable_sort (RandomAccessIterator first,
15
+ RandomAccessIterator last,
16
+ diff -r -u old/istream new/istream
17
+ --- old/istream 2009-06-05 10:01:07.000000000 +0200
18
+ +++ new/istream 2009-06-05 10:01:43.000000000 +0200
19
+ @@ -67,7 +67,7 @@
20
+
21
+ _EXPLICIT basic_istream(basic_streambuf<charT, traits> *sb);
22
+
23
+ - _EXPLICIT basic_istream(EmptyCtor) : basic_ios<charT, traits>(1) {}
24
+ + _EXPLICIT basic_istream(ios_base::EmptyCtor) : basic_ios<charT, traits>(1) {}
25
+ virtual ~basic_istream();
26
+
27
+ class sentry
28
+ @@ -307,7 +307,7 @@
29
+ }
30
+ else
31
+ {
32
+ - ostream_type* ost = stream.tie();
33
+ + basic_ostream<charT, traits>* ost = stream.tie();
34
+ if (ost && ost->rdbuf() != sb)
35
+ ost->flush();
36
+
37
+ @@ -419,9 +419,11 @@
38
+ const istream_iterator<T,charT,traits,Distance>& x,
39
+ const istream_iterator<T,charT,traits,Distance>& y);
40
+ #else
41
+ - friend inline bool operator== <> (
42
+ +/* SMOSS 29/08/07 inline not allowed in friend declaration */
43
+ + friend /*inline*/ bool operator== <> (
44
+ const istream_iterator<T,charT,traits,Distance>& x,
45
+ const istream_iterator<T,charT,traits,Distance>& y);
46
+ +/* END SMOSS 29/08/07 inline not allowed in friend declaration */
47
+ #endif
48
+ public:
49
+ typedef charT char_type;
50
+ diff -r -u old/ostream new/ostream
51
+ --- old/ostream 2009-06-05 10:01:07.000000000 +0200
52
+ +++ new/ostream 2009-06-05 10:01:43.000000000 +0200
53
+ @@ -88,7 +88,7 @@
54
+ typedef basic_ios<charT, traits> ios_type;
55
+
56
+ _EXPLICIT basic_ostream(basic_streambuf<charT, traits> *sb);
57
+ - _EXPLICIT basic_ostream(EmptyCtor) : basic_ios<charT, traits>(1) {}
58
+ + _EXPLICIT basic_ostream(ios_base::EmptyCtor) : basic_ios<charT, traits>(1) {}
59
+ virtual ~basic_ostream();
60
+
61
+ class sentry {
62
+ @@ -97,8 +97,7 @@
63
+ sentry(basic_ostream<charT,traits>& stream)
64
+ : __stream(stream)
65
+ {
66
+ -
67
+ - streambuf_type* sb = stream.rdbuf();
68
+ + basic_streambuf<charT, traits>* sb = stream.rdbuf();
69
+ if ( sb ) {
70
+ stream.rdbuf()->buffer_mutex_.acquire();
71
+ }
72
+ diff -r -u old/rw/iterator new/rw/iterator
73
+ --- old/rw/iterator 2009-06-05 10:01:07.000000000 +0200
74
+ +++ new/rw/iterator 2009-06-05 10:01:43.000000000 +0200
75
+ @@ -426,10 +426,12 @@
76
+ friend inline difference_type (std::operator-) (const self& x, const self& y);
77
+ friend inline self (std::operator+) (difference_type n, const self& x);
78
+ #else
79
+ - friend inline bool operator== <> (const self& x, const self& y);
80
+ - friend inline bool operator< <> (const self& x, const self& y);
81
+ - friend inline difference_type operator- <> (const self& x, const self& y);
82
+ - friend inline self operator+ <> (difference_type n, const self& x);
83
+ +/* SMOSS 29/08/07 removing 'inline' from friend declarations */
84
+ + friend /*inline*/ bool operator== <> (const self& x, const self& y);
85
+ + friend /*inline*/ bool operator< <> (const self& x, const self& y);
86
+ + friend /*inline*/ difference_type operator- <> (const self& x, const self& y);
87
+ + friend /*inline*/ self operator+ <> (difference_type n, const self& x);
88
+ +/* END SMOSS 29/08/07 removing 'inline' from friend declarations */
89
+ #endif
90
+ protected:
91
+
92
+ @@ -581,7 +583,9 @@
93
+ typedef Reference reference;
94
+ typedef Pointer pointer;
95
+
96
+ - friend inline bool operator== <> (const self& x, const self& y);
97
+ +/* SMOSS 29/08/07 removing 'inline' from friend declarations */
98
+ + friend /*inline*/ bool operator== <> (const self& x, const self& y);
99
+ +/* END SMOSS 29/08/07 removing 'inline' from friend declarations */
100
+
101
+ protected:
102
+
103
+ diff -r -u old/streambuf new/streambuf
104
+ --- old/streambuf 2009-06-05 10:01:07.000000000 +0200
105
+ +++ new/streambuf 2009-06-05 10:01:43.000000000 +0200
106
+ @@ -927,7 +927,10 @@
107
+ * int_type snextc()
108
+ * returns the next character
109
+ */
110
+ -
111
+ +/* SMOSS 29/08/07 Can't use typename in template specializations */
112
+ +#ifdef _TYPENAME
113
+ +# define _TYPENAME
114
+ +#endif
115
+ inline _TYPENAME basic_streambuf<char, char_traits<char> >::int_type
116
+ basic_streambuf<char, char_traits<char> >::snextc()
117
+ {
118
+ @@ -1208,6 +1211,11 @@
119
+ {
120
+ return seekpos(sp, which);
121
+ }
122
+ +#ifdef _TYPENAME
123
+ +# define _TYPENAME typename
124
+ +# undef _OLD_TYPENAME
125
+ +#endif
126
+ +/* END SMOSS 29/08/07 Can't use typename in template specializations */
127
+
128
+ /*
129
+ * basic_streambuf *pubsetbuf(char_type *, streamsize)
130
+ diff -r -u old/string new/string
131
+ --- old/string 2009-06-05 10:01:07.000000000 +0200
132
+ +++ new/string 2009-06-05 10:01:43.000000000 +0200
133
+ @@ -797,7 +797,9 @@
134
+ // Null string ref
135
+ //
136
+ #ifndef _RWSTD_NO_STATIC_DEF3
137
+ - static __SUNW_GLOBAL const __null_ref_type __nullref;
138
+ +/* SMOSS 29/08/07 Can't resolve #define __SUNW_GLOBAL __global */
139
+ + static /* __SUNW_GLOBAL */ const __null_ref_type __nullref;
140
+ +/* SMOSS 29/08/07 Can't resolve #define __SUNW_GLOBAL __global */
141
+ #endif
142
+
143
+ static __string_ref_type * __getNullRep ()
144
+ diff -r -u old/typeinfo new/typeinfo
145
+ --- old/typeinfo 2009-06-05 10:01:07.000000000 +0200
146
+ +++ new/typeinfo 2009-06-05 10:01:43.000000000 +0200
147
+ @@ -34,7 +34,8 @@
148
+ // Implementation
149
+ const void* __data;
150
+ type_info(const void*) throw();
151
+ - friend __Cimpl::__type_info_friend;
152
+ + /* SMOSS 29/08/07 Can't resolve */
153
+ + //friend __Cimpl::__type_info_friend;
154
+ };
155
+
156
+ class bad_typeid: public exception {
@@ -0,0 +1,32 @@
1
+ #!/bin/sh
2
+
3
+ cd `dirname $0`
4
+
5
+ #########################################
6
+ # Patch STL Headers (Non-STLport)
7
+ #########################################
8
+
9
+ CC_INCLUDES=`../find_flags "$@" | perl -ne '($a) = m|-I([/a-zA-Z0-9\._-]+/include/CC)|o ; print "$a\n" if $a'`
10
+
11
+ mkdir -p rw
12
+
13
+ cp $CC_INCLUDES/typeinfo .
14
+ cp $CC_INCLUDES/Cstd/istream .
15
+ cp $CC_INCLUDES/Cstd/ostream .
16
+ cp $CC_INCLUDES/Cstd/streambuf .
17
+ cp $CC_INCLUDES/Cstd/string .
18
+ cp $CC_INCLUDES/Cstd/algorithm .
19
+ cp $CC_INCLUDES/Cstd/rw/iterator rw/iterator
20
+
21
+ gpatch -p1 < Cstd.patch
22
+
23
+ #########################################
24
+ # Patch the standard headers
25
+ #########################################
26
+
27
+ if [ `uname -r` = "5.10" ]
28
+ then
29
+ mkdir -p iso
30
+ cp /usr/include/iso/stdlib_iso.h iso
31
+ gpatch -p1 < std-5.10.patch
32
+ fi
@@ -0,0 +1,22 @@
1
+ diff -r -u old/iso/stdlib_iso.h new/iso/stdlib_iso.h
2
+ --- old/iso/stdlib_iso.h Wed May 20 12:02:31 2009
3
+ +++ new/iso/stdlib_iso.h Wed May 20 12:01:23 2009
4
+ @@ -110,8 +110,10 @@
5
+ extern double atof(const char *);
6
+ extern int atoi(const char *);
7
+ extern long int atol(const char *);
8
+ +/* SMOSS 29/08/07
9
+ extern void *bsearch(const void *, const void *, size_t, size_t,
10
+ int (*)(const void *, const void *));
11
+ +*/
12
+ #if __cplusplus >= 199711L
13
+ extern "C++" {
14
+ void *bsearch(const void *, const void *, size_t, size_t,
15
+ @@ -131,7 +133,6 @@
16
+ extern size_t mbstowcs(wchar_t *_RESTRICT_KYWD, const char *_RESTRICT_KYWD,
17
+ size_t);
18
+ extern int mbtowc(wchar_t *_RESTRICT_KYWD, const char *_RESTRICT_KYWD, size_t);
19
+ -extern void qsort(void *, size_t, size_t, int (*)(const void *, const void *));
20
+ #if __cplusplus >= 199711L
21
+ extern "C++" {
22
+ void qsort(void *, size_t, size_t, int (*)(const void *, const void *));