gccxml_gem 0.9-x86-darwin-9

Sign up to get free protection for your applications and to get access to all the features.
Files changed (126) hide show
  1. data/Rakefile +75 -0
  2. data/bin/gccxml +0 -0
  3. data/bin/gccxml_cc1plus +0 -0
  4. data/gccxml.rb +44 -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/istream.tcc +1207 -0
  73. data/share/gccxml-0.9/GCC/3.2/bits/locale_facets.h +1810 -0
  74. data/share/gccxml-0.9/GCC/3.2/bits/locale_facets.tcc +2397 -0
  75. data/share/gccxml-0.9/GCC/3.2/bits/messages_members.h +108 -0
  76. data/share/gccxml-0.9/GCC/3.2/bits/ostream.tcc +713 -0
  77. data/share/gccxml-0.9/GCC/3.2/bits/sstream.tcc +241 -0
  78. data/share/gccxml-0.9/GCC/3.2/bits/stl_deque.h +1682 -0
  79. data/share/gccxml-0.9/GCC/3.2/bits/stl_list.h +989 -0
  80. data/share/gccxml-0.9/GCC/3.2/bits/stl_tree.h +1462 -0
  81. data/share/gccxml-0.9/GCC/3.2/bits/stl_vector.h +1085 -0
  82. data/share/gccxml-0.9/GCC/3.2/bits/valarray_meta.h +1063 -0
  83. data/share/gccxml-0.9/GCC/3.2/fstream +579 -0
  84. data/share/gccxml-0.9/GCC/3.2/pthread.h +16 -0
  85. data/share/gccxml-0.9/GCC/3.2/sstream +384 -0
  86. data/share/gccxml-0.9/GCC/3.3/bits/fstream.tcc +530 -0
  87. data/share/gccxml-0.9/GCC/3.3/bits/list.tcc +378 -0
  88. data/share/gccxml-0.9/GCC/3.3/bits/locale_facets.h +2050 -0
  89. data/share/gccxml-0.9/GCC/3.3/bits/messages_members.h +108 -0
  90. data/share/gccxml-0.9/GCC/3.3/bits/sstream.tcc +243 -0
  91. data/share/gccxml-0.9/GCC/3.3/bits/stl_deque.h +1603 -0
  92. data/share/gccxml-0.9/GCC/3.3/bits/stl_list.h +1167 -0
  93. data/share/gccxml-0.9/GCC/3.3/bits/stl_tree.h +1462 -0
  94. data/share/gccxml-0.9/GCC/3.3/bits/stl_vector.h +992 -0
  95. data/share/gccxml-0.9/GCC/3.3/bits/valarray_meta.h +1135 -0
  96. data/share/gccxml-0.9/GCC/3.3/fstream +842 -0
  97. data/share/gccxml-0.9/GCC/3.3/gccxml_builtins.h +22 -0
  98. data/share/gccxml-0.9/GCC/3.3/sstream +638 -0
  99. data/share/gccxml-0.9/GCC/3.4/gccxml_builtins.h +91 -0
  100. data/share/gccxml-0.9/GCC/4.0/gccxml_builtins.h +128 -0
  101. data/share/gccxml-0.9/GCC/4.1/bits/gthr-default.h +618 -0
  102. data/share/gccxml-0.9/GCC/4.1/gccxml_builtins.h +131 -0
  103. data/share/gccxml-0.9/GCC/4.2/gccxml_builtins.h +131 -0
  104. data/share/gccxml-0.9/GCC/find_flags +105 -0
  105. data/share/gccxml-0.9/Intel/find_flags +56 -0
  106. data/share/gccxml-0.9/Intel/pthread.h +16 -0
  107. data/share/gccxml-0.9/MIPSpro/7.3/exception +9 -0
  108. data/share/gccxml-0.9/MIPSpro/7.3/gccxml_mpro_internals.h +21 -0
  109. data/share/gccxml-0.9/MIPSpro/7.3/iomanip +161 -0
  110. data/share/gccxml-0.9/MIPSpro/7.3/ostream +9 -0
  111. data/share/gccxml-0.9/MIPSpro/7.3/stddef.h +9 -0
  112. data/share/gccxml-0.9/MIPSpro/7.3/stl_config.h +9 -0
  113. data/share/gccxml-0.9/MIPSpro/7.3/stl_locale.h +17 -0
  114. data/share/gccxml-0.9/MIPSpro/7.3/stl_monetary.h +14 -0
  115. data/share/gccxml-0.9/MIPSpro/7.3/stl_numeric_facets.h +13 -0
  116. data/share/gccxml-0.9/MIPSpro/7.3/stl_threads.h +11 -0
  117. data/share/gccxml-0.9/MIPSpro/7.3/string +18 -0
  118. data/share/gccxml-0.9/MIPSpro/find_flags +137 -0
  119. data/share/gccxml-0.9/Sun/5.8/adaptation.patch +168 -0
  120. data/share/gccxml-0.9/Sun/README +8 -0
  121. data/share/gccxml-0.9/Sun/adapt_headers.sh +24 -0
  122. data/share/gccxml-0.9/Sun/find_flags +69 -0
  123. data/share/gccxml-0.9/gccxml_config +2 -0
  124. data/share/gccxml-0.9/gccxml_find_flags +93 -0
  125. data/share/man/man1/gccxml.1 +246 -0
  126. metadata +204 -0
@@ -0,0 +1,21 @@
1
+ #ifndef __GCCXML_MPRO_INTERNALS
2
+ #define __GCCXML_MPRO_INTERNALS
3
+
4
+ /* These macros are defined internally by SGI CC. */
5
+
6
+ #define _WCHAR_T
7
+ #define _BOOL
8
+ #define _TYPENAME_IS_KEYWORD
9
+ #define _NAMESPACES
10
+ #define _MEMBER_TEMPLATES
11
+ #define _MEMBER_TEMPLATE_KEYWORD
12
+ #define _EXPLICIT_IS_KEYWORD
13
+ #define _WCHAR_T_IS_KEYWORD
14
+ #define __STL_HAS_NAMESPACES
15
+ #define __STL_USE_NEW_IOSTREAMS
16
+ #define __STL_EXPLICIT_FUNCTION_TMPL_ARGS
17
+ #define _PARTIAL_SPECIALIZATION_OF_CLASS_TEMPLATES
18
+ #define __EDG_ABI_COMPATIBILITY_VERSION 229
19
+
20
+ #endif
21
+
@@ -0,0 +1,161 @@
1
+ /*
2
+ * Copyright (c) 1998
3
+ * Silicon Graphics Computer Systems, Inc.
4
+ *
5
+ * Permission to use, copy, modify, distribute and sell this software
6
+ * and its documentation for any purpose is hereby granted without fee,
7
+ * provided that the above copyright notice appear in all copies and
8
+ * that both that copyright notice and this permission notice appear
9
+ * in supporting documentation. Silicon Graphics makes no
10
+ * representations about the suitability of this software for any
11
+ * purpose. It is provided "as is" without express or implied warranty.
12
+ */
13
+
14
+ #ifndef __SGI_STL_IOMANIP
15
+ #define __SGI_STL_IOMANIP
16
+
17
+ #if defined(__sgi) && !defined(__GNUC__) && !defined(_STANDARD_C_PLUS_PLUS)
18
+ #error This header file requires the -LANG:std option
19
+ #endif
20
+
21
+ #include <istream> // Includes <ostream> and <ios>
22
+
23
+ __STL_BEGIN_NAMESPACE
24
+
25
+ //----------------------------------------------------------------------
26
+ // Machinery for defining manipulators.
27
+
28
+ // Class that calls one of ios_base's single-argument member functions.
29
+ template <class _Arg>
30
+ struct _Ios_Manip_1 {
31
+ _Ios_Manip_1(_Arg (ios_base::*__f)(_Arg), const _Arg& __arg)
32
+ : _M_f(__f), _M_arg(__arg)
33
+ {}
34
+
35
+ void operator()(ios_base& __ios) const {
36
+ (__ios.*_M_f)(_M_arg);
37
+ }
38
+
39
+ _Arg (ios_base::*_M_f)(_Arg);
40
+ _Arg _M_arg;
41
+ };
42
+
43
+ // Class that calls one of ios_base's two-argument member functions.
44
+ struct _Ios_Setf_Manip {
45
+ ios_base::fmtflags _M_flag;
46
+ ios_base::fmtflags _M_mask;
47
+ bool _M_two_args;
48
+
49
+ _Ios_Setf_Manip(ios_base::fmtflags __f)
50
+ : _M_flag(__f), _M_mask(0), _M_two_args(false)
51
+ {}
52
+
53
+ _Ios_Setf_Manip(ios_base::fmtflags __f, ios_base::fmtflags __m)
54
+ : _M_flag(__f), _M_mask(__m), _M_two_args(true)
55
+ {}
56
+
57
+ void operator()(ios_base& __ios) const {
58
+ if (_M_two_args)
59
+ __ios.setf(_M_flag, _M_mask);
60
+ else
61
+ __ios.setf(_M_flag);
62
+ }
63
+ };
64
+
65
+
66
+ template <class _CharT, class _Traits, class _Arg>
67
+ inline basic_istream<_CharT, _Traits>&
68
+ operator>>(basic_istream<_CharT, _Traits>& __in,
69
+ const _Ios_Manip_1<_Arg>& __f)
70
+ {
71
+ __f(__in);
72
+ return __in;
73
+ }
74
+
75
+ template <class _CharT, class _Traits, class _Arg>
76
+ inline basic_ostream<_CharT, _Traits>&
77
+ operator<<(basic_ostream<_CharT, _Traits>& __os,
78
+ const _Ios_Manip_1<_Arg>& __f)
79
+ {
80
+ __f(__os);
81
+ return __os;
82
+ }
83
+
84
+ template <class _CharT, class _Traits>
85
+ inline basic_istream<_CharT, _Traits>&
86
+ operator>>(basic_istream<_CharT, _Traits>& __in, const _Ios_Setf_Manip& __f)
87
+ {
88
+ __f(__in);
89
+ return __in;
90
+ }
91
+
92
+ template <class _CharT, class _Traits>
93
+ inline basic_ostream<_CharT, _Traits>&
94
+ operator<<(basic_ostream<_CharT, _Traits>& __os, const _Ios_Setf_Manip& __f)
95
+
96
+ {
97
+ __f(__os);
98
+ return __os;
99
+ }
100
+
101
+ //----------------------------------------------------------------------
102
+ // The ios_base manipulators.
103
+
104
+ inline _Ios_Setf_Manip resetiosflags(ios_base::fmtflags __mask) {
105
+ return _Ios_Setf_Manip(0, __mask);
106
+ }
107
+
108
+ inline _Ios_Setf_Manip setiosflags(ios_base::fmtflags __flag) {
109
+ return _Ios_Setf_Manip(__flag);
110
+ }
111
+
112
+ inline _Ios_Setf_Manip setbase(int __n) {
113
+ ios_base::fmtflags __base = __n == 8 ? ios_base::oct :
114
+ __n == 10 ? ios_base::dec :
115
+ __n == 16 ? ios_base::hex :
116
+ ios_base::fmtflags(0);
117
+ return _Ios_Setf_Manip(__base, ios_base::basefield);
118
+ }
119
+
120
+ inline _Ios_Manip_1<streamsize>
121
+ setprecision(int __n) {
122
+ return _Ios_Manip_1<streamsize>(&ios_base::precision, __n);
123
+ }
124
+
125
+ inline _Ios_Manip_1<streamsize>
126
+ setw(int __n) {
127
+ return _Ios_Manip_1<streamsize>(&ios_base::width, __n);
128
+ }
129
+
130
+ //----------------------------------------------------------------------
131
+ // setfill, a manipulator that operates on basic_ios<> instead of ios_base.
132
+
133
+ template <class _CharT>
134
+ struct _Setfill_Manip {
135
+ _Setfill_Manip(_CharT __c) : _M_c(__c) {}
136
+ _CharT _M_c;
137
+ };
138
+
139
+ template <class _CharT, class _CharT2, class _Traits>
140
+ inline basic_ostream<_CharT, _Traits>&
141
+ operator<<(basic_ostream<_CharT, _Traits>& __os,
142
+ const _Setfill_Manip<_CharT2>& __m)
143
+ {
144
+ __os.fill(__m._M_c);
145
+ return __os;
146
+ }
147
+
148
+ template <class _CharT>
149
+ inline _Setfill_Manip<_CharT>
150
+ setfill(_CharT __c) {
151
+ return _Setfill_Manip<_CharT>(__c);
152
+ }
153
+
154
+
155
+ __STL_END_NAMESPACE
156
+
157
+ #endif /* __SGI_STL_IOMANIP */
158
+
159
+ // Local Variables:
160
+ // mode:C++
161
+ // End:
@@ -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,137 @@
1
+ #!/bin/sh
2
+ #=============================================================================
3
+ #
4
+ # Program: GCC-XML
5
+ # Module: $RCSfile: find_flags,v $
6
+ # Language: C++
7
+ # Date: $Date: 2005/08/01 22:11:33 $
8
+ # Version: $Revision: 1.5 $
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
+ GCCXML_PID="$$"
31
+ TESTFILE="find_flags_temp$GCCXML_PID"
32
+
33
+ # Construct a test input file that checks for some builtin definitions
34
+ # in the compiler that are not displayed by the -v option. This list
35
+ # was obtained by running "strings /usr/lib32/cmplrs/fecc" and testing
36
+ # for definitions with a giant version of the string below.
37
+ echo "
38
+ #ifdef _BOOL
39
+ D_BOOL _BOOL
40
+ #endif
41
+ #ifdef _EXPLICIT_IS_KEYWORD
42
+ D_EXPLICIT_IS_KEYWORD _EXPLICIT_IS_KEYWORD
43
+ #endif
44
+ #ifdef _LIBC_IN_NAMESPACE_STD_
45
+ D_LIBC_IN_NAMESPACE_STD_ _LIBC_IN_NAMESPACE_STD_
46
+ #endif
47
+ #ifdef _MEMBER_TEMPLATES
48
+ D_MEMBER_TEMPLATES _MEMBER_TEMPLATES
49
+ #endif
50
+ #ifdef _MUTABLE_IS_KEYWORD
51
+ D_MUTABLE_IS_KEYWORD _MUTABLE_IS_KEYWORD
52
+ #endif
53
+ #ifdef _NAMESPACES
54
+ D_NAMESPACES _NAMESPACES
55
+ #endif
56
+ #ifdef _PARTIAL_SPECIALIZATION_OF_CLASS_TEMPLATES
57
+ D_PARTIAL_SPECIALIZATION_OF_CLASS_TEMPLATES _PARTIAL_SPECIALIZATION_OF_CLASS_TEMPLATES
58
+ #endif
59
+ #ifdef _STANDARD_C_PLUS_PLUS
60
+ D_STANDARD_C_PLUS_PLUS _STANDARD_C_PLUS_PLUS
61
+ #endif
62
+ #ifdef _TYPENAME_IS_KEYWORD
63
+ D_TYPENAME_IS_KEYWORD _TYPENAME_IS_KEYWORD
64
+ #endif
65
+ #ifdef _WCHAR_T
66
+ D_WCHAR_T _WCHAR_T
67
+ #endif
68
+ #ifdef _WCHAR_T_IS_KEYWORD
69
+ D_WCHAR_T_IS_KEYWORD _WCHAR_T_IS_KEYWORD
70
+ #endif
71
+ #ifdef __ANSI_CPP__
72
+ D__ANSI_CPP__ __ANSI_CPP__
73
+ #endif
74
+ #ifdef __ARRAY_OPERATORS
75
+ D__ARRAY_OPERATORS __ARRAY_OPERATORS
76
+ #endif
77
+ #ifdef __EDG_ABI_COMPATIBILITY_VERSION
78
+ D__EDG_ABI_COMPATIBILITY_VERSION __EDG_ABI_COMPATIBILITY_VERSION
79
+ #endif
80
+ #ifdef __EDG_RUNTIME_USES_NAMESPACES
81
+ D__EDG_RUNTIME_USES_NAMESPACES __EDG_RUNTIME_USES_NAMESPACES
82
+ #endif
83
+ #ifdef __EDG_VERSION__
84
+ D__EDG_VERSION__ __EDG_VERSION__
85
+ #endif
86
+ #ifdef __EDG__
87
+ D__EDG__ __EDG__
88
+ #endif
89
+ #ifdef __EXCEPTIONS
90
+ D__EXCEPTIONS __EXCEPTIONS
91
+ #endif
92
+ #ifdef __LIBC_MATH_OVERLOAD__
93
+ D__LIBC_MATH_OVERLOAD__ __LIBC_MATH_OVERLOAD__
94
+ #endif
95
+ #ifdef __RTTI
96
+ D__RTTI __RTTI
97
+ #endif
98
+ #ifdef __STDC__
99
+ D__STDC__ __STDC__
100
+ #endif
101
+ " > /tmp/$TESTFILE.cxx
102
+
103
+ # Find the macro definition options.
104
+ MACROS=`
105
+ ${CXX} ${CXXFLAGS} -E -v /tmp/$TESTFILE.cxx 2>&1 |
106
+ sed -n '/_COMPILER_VERSION/{s/ \/tmp\/'$TESTFILE'.cxx.*$//
107
+ s/ -/\\
108
+ -/g;p;}' |
109
+ sed -n '/^-D.*$/{s/-D\([^=]*\)=\([^ ]\{1,\} .*\)/-D\1='\''\2'\''/;p;}' |
110
+ sed -n 'H;${g;s/\n/ /g;p;}'`
111
+
112
+ # Find the internally defined macros.
113
+ LANGSTD=`
114
+ ${CXX} ${CXXFLAGS} -E -v /tmp/$TESTFILE.cxx 2>&1 |
115
+ sed -n '/^D/ {s/^D/-D/;s/ /=/;p;}' |
116
+ sed -n 'H;${g;s/\n/ /g;p;}'`
117
+
118
+ # Find the include path options.
119
+ INCLUDES=`
120
+ ${CXX} ${CXXFLAGS} -E -v /tmp/$TESTFILE.cxx 2>&1 |
121
+ sed -n '/_COMPILER_VERSION/{s/ \/tmp\/'$TESTFILE'.cxx.*$//
122
+ s/ -/\\
123
+ -/g;p;}' |
124
+ sed -n '/^-I.*$/{p;}' |
125
+ sed -n 'H;${g;s/\n/ /g;p;}'`
126
+
127
+ # The support headers are located where this script is.
128
+ SELFPATH=`echo $0 | sed -n '/\//{s/\/find_flags//;p;}'`
129
+ if test "x$SELFPATH" = "x" ; then SELFPATH="." ; fi
130
+ SELFPATH=`cd "$SELFPATH" ; pwd`
131
+ INCLUDES="-iwrapper\"$SELFPATH/7.3\" $INCLUDES"
132
+
133
+ rm -f /tmp/$TESTFILE.cxx
134
+
135
+ # Format and print out the options.
136
+ OPTIONS="$MACROS $LANGSTD $INCLUDES"
137
+ echo $OPTIONS
@@ -0,0 +1,168 @@
1
+ Common subdirectories: ./iso and ../result/iso
2
+ diff -r -u ./istream ../result/istream
3
+ --- ./istream Fri Nov 16 16:40:47 2007
4
+ +++ ../result/istream Fri Nov 16 15:22:16 2007
5
+ @@ -419,9 +419,11 @@
6
+ const istream_iterator<T,charT,traits,Distance>& x,
7
+ const istream_iterator<T,charT,traits,Distance>& y);
8
+ #else
9
+ - friend inline bool operator== <> (
10
+ +/* SMOSS 29/08/07 inline not allowed in friend declaration */
11
+ + friend /*inline*/ bool operator== <> (
12
+ const istream_iterator<T,charT,traits,Distance>& x,
13
+ const istream_iterator<T,charT,traits,Distance>& y);
14
+ +/* END SMOSS 29/08/07 inline not allowed in friend declaration */
15
+ #endif
16
+ public:
17
+ typedef charT char_type;
18
+ diff -r -u ./math.h ../result/math.h
19
+ --- ./math.h Fri Nov 16 17:25:29 2007
20
+ +++ ../result/math.h Fri Nov 16 15:22:16 2007
21
+ @@ -313,6 +313,11 @@
22
+ #endif
23
+ /* END adopted by C99 */
24
+
25
+ +/* SMOSS 29/08/07 <floatingpoint.h> conflicts with stdlib_iso.h */
26
+ +#ifdef __EXTENSIONS__
27
+ +# undef __EXTENSIONS__
28
+ +#endif //__EXTENSIONS__
29
+ +/* END SMOSS 29/08/07 <floatingpoint.h> conflicts with stdlib_iso.h */
30
+ #if defined(__EXTENSIONS__) || !defined(__cplusplus)
31
+ #include <floatingpoint.h>
32
+ #endif
33
+ @@ -319,6 +324,11 @@
34
+ #endif /* defined(__EXTENSIONS__) || !defined(_XOPEN_SOURCE) */
35
+ #endif /* defined(__EXTENSIONS__) || defined(_XOPEN_SOURCE) || ... */
36
+
37
+ +/* SMOSS 29/08/07 <floatingpoint.h> conflicts with stdlib_iso.h */
38
+ +#ifdef __EXTENSIONS__
39
+ +# define __EXTENSIONS__
40
+ +#endif //__EXTENSIONS__
41
+ +/* END SMOSS 29/08/07 <floatingpoint.h> conflicts with stdlib_iso.h */
42
+ #if defined(__cplusplus) && defined(__GNUC__)
43
+ #undef exception
44
+ #endif
45
+ Common subdirectories: ./rw and ../result/rw
46
+ diff -r -u ./streambuf ../result/streambuf
47
+ --- ./streambuf Fri Nov 16 16:40:47 2007
48
+ +++ ../result/streambuf Fri Nov 16 15:22:16 2007
49
+ @@ -927,7 +927,10 @@
50
+ * int_type snextc()
51
+ * returns the next character
52
+ */
53
+ -
54
+ +/* SMOSS 29/08/07 Can't use typename in template specializations */
55
+ +#ifdef _TYPENAME
56
+ +# define _TYPENAME
57
+ +#endif
58
+ inline _TYPENAME basic_streambuf<char, char_traits<char> >::int_type
59
+ basic_streambuf<char, char_traits<char> >::snextc()
60
+ {
61
+ @@ -1208,6 +1211,11 @@
62
+ {
63
+ return seekpos(sp, which);
64
+ }
65
+ +#ifdef _TYPENAME
66
+ +# define _TYPENAME typename
67
+ +# undef _OLD_TYPENAME
68
+ +#endif
69
+ +/* END SMOSS 29/08/07 Can't use typename in template specializations */
70
+
71
+ /*
72
+ * basic_streambuf *pubsetbuf(char_type *, streamsize)
73
+ diff -r -u ./string ../result/string
74
+ --- ./string Fri Nov 16 16:40:47 2007
75
+ +++ ../result/string Fri Nov 16 15:22:16 2007
76
+ @@ -797,7 +797,9 @@
77
+ // Null string ref
78
+ //
79
+ #ifndef _RWSTD_NO_STATIC_DEF3
80
+ - static __SUNW_GLOBAL const __null_ref_type __nullref;
81
+ +/* SMOSS 29/08/07 Can't resolve #define __SUNW_GLOBAL __global */
82
+ + static /* __SUNW_GLOBAL */ const __null_ref_type __nullref;
83
+ +/* SMOSS 29/08/07 Can't resolve #define __SUNW_GLOBAL __global */
84
+ #endif
85
+
86
+ static __string_ref_type * __getNullRep ()
87
+ Common subdirectories: ./sys and ../result/sys
88
+ diff -r -u ./typeinfo ../result/typeinfo
89
+ --- ./typeinfo Fri Nov 16 16:40:47 2007
90
+ +++ ../result/typeinfo Fri Nov 16 15:22:16 2007
91
+ @@ -34,7 +34,8 @@
92
+ // Implementation
93
+ const void* __data;
94
+ type_info(const void*) throw();
95
+ - friend __Cimpl::__type_info_friend;
96
+ + /* SMOSS 29/08/07 Can't resolve */
97
+ + //friend __Cimpl::__type_info_friend;
98
+ };
99
+
100
+ class bad_typeid: public exception {
101
+ diff -r -u ./iso/stdlib_iso.h ../result/iso/stdlib_iso.h
102
+ --- ./iso/stdlib_iso.h Fri Nov 16 16:40:47 2007
103
+ +++ ../result/iso/stdlib_iso.h Fri Nov 16 15:22:16 2007
104
+ @@ -110,8 +110,10 @@
105
+ extern double atof(const char *);
106
+ extern int atoi(const char *);
107
+ extern long int atol(const char *);
108
+ +/* SMOSS 29/08/07
109
+ extern void *bsearch(const void *, const void *, size_t, size_t,
110
+ int (*)(const void *, const void *));
111
+ +*/
112
+ #if __cplusplus >= 199711L
113
+ extern "C++" {
114
+ void *bsearch(const void *, const void *, size_t, size_t,
115
+ @@ -131,7 +133,6 @@
116
+ extern size_t mbstowcs(wchar_t *_RESTRICT_KYWD, const char *_RESTRICT_KYWD,
117
+ size_t);
118
+ extern int mbtowc(wchar_t *_RESTRICT_KYWD, const char *_RESTRICT_KYWD, size_t);
119
+ -extern void qsort(void *, size_t, size_t, int (*)(const void *, const void *));
120
+ #if __cplusplus >= 199711L
121
+ extern "C++" {
122
+ void qsort(void *, size_t, size_t, int (*)(const void *, const void *));
123
+ diff -r -u ./rw/iterator ../result/rw/iterator
124
+ --- ./rw/iterator Fri Nov 16 17:03:59 2007
125
+ +++ ../result/rw/iterator Fri Nov 16 15:22:16 2007
126
+ @@ -426,10 +426,12 @@
127
+ friend inline difference_type (std::operator-) (const self& x, const self& y);
128
+ friend inline self (std::operator+) (difference_type n, const self& x);
129
+ #else
130
+ - friend inline bool operator== <> (const self& x, const self& y);
131
+ - friend inline bool operator< <> (const self& x, const self& y);
132
+ - friend inline difference_type operator- <> (const self& x, const self& y);
133
+ - friend inline self operator+ <> (difference_type n, const self& x);
134
+ +/* SMOSS 29/08/07 removing 'inline' from friend declarations */
135
+ + friend /*inline*/ bool operator== <> (const self& x, const self& y);
136
+ + friend /*inline*/ bool operator< <> (const self& x, const self& y);
137
+ + friend /*inline*/ difference_type operator- <> (const self& x, const self& y);
138
+ + friend /*inline*/ self operator+ <> (difference_type n, const self& x);
139
+ +/* END SMOSS 29/08/07 removing 'inline' from friend declarations */
140
+ #endif
141
+ protected:
142
+
143
+ @@ -581,7 +583,9 @@
144
+ typedef Reference reference;
145
+ typedef Pointer pointer;
146
+
147
+ - friend inline bool operator== <> (const self& x, const self& y);
148
+ +/* SMOSS 29/08/07 removing 'inline' from friend declarations */
149
+ + friend /*inline*/ bool operator== <> (const self& x, const self& y);
150
+ +/* END SMOSS 29/08/07 removing 'inline' from friend declarations */
151
+
152
+ protected:
153
+
154
+ diff -r -u ./sys/regset.h ../result/sys/regset.h
155
+ --- ./sys/regset.h Fri Nov 16 16:40:47 2007
156
+ +++ ../result/sys/regset.h Fri Nov 16 15:22:16 2007
157
+ @@ -16,7 +16,10 @@
158
+ #pragma ident "@(#)regset.h 1.28 04/09/28 SMI" /* SVr4.0 1.1 */
159
+
160
+ #include <sys/feature_tests.h>
161
+ -
162
+ +/* SMOSS 29/08/07 */
163
+ +//#include <inttypes.h>
164
+ +typedef long long unsigned int uint64_t;
165
+ +/* end SMOSS 29/08/08 */
166
+ #if !defined(_ASM)
167
+ #include <sys/int_types.h>
168
+ #endif