gccxml_gem 0.9.2-universal-darwin-10
Sign up to get free protection for your applications and to get access to all the features.
- data/Rakefile +79 -0
- data/bin/gccxml +0 -0
- data/bin/gccxml_cc1plus +0 -0
- data/gccxml.rb +57 -0
- data/share/doc/gccxml-0.9/Copyright.txt +55 -0
- data/share/doc/gccxml-0.9/gccxml.html +168 -0
- data/share/doc/gccxml-0.9/gccxml.txt +293 -0
- data/share/gccxml-0.9/GCC/2.95/algorithm +76 -0
- data/share/gccxml-0.9/GCC/2.95/bitset +17 -0
- data/share/gccxml-0.9/GCC/2.95/cctype +24 -0
- data/share/gccxml-0.9/GCC/2.95/clocale +14 -0
- data/share/gccxml-0.9/GCC/2.95/cmath +33 -0
- data/share/gccxml-0.9/GCC/2.95/complex +38 -0
- data/share/gccxml-0.9/GCC/2.95/csetjmp +13 -0
- data/share/gccxml-0.9/GCC/2.95/csignal +14 -0
- data/share/gccxml-0.9/GCC/2.95/cstdarg +12 -0
- data/share/gccxml-0.9/GCC/2.95/cstddef +13 -0
- data/share/gccxml-0.9/GCC/2.95/cstdio +55 -0
- data/share/gccxml-0.9/GCC/2.95/cstdlib +66 -0
- data/share/gccxml-0.9/GCC/2.95/cstring +34 -0
- data/share/gccxml-0.9/GCC/2.95/ctime +24 -0
- data/share/gccxml-0.9/GCC/2.95/cwchar +65 -0
- data/share/gccxml-0.9/GCC/2.95/cwctype +31 -0
- data/share/gccxml-0.9/GCC/2.95/deque +19 -0
- data/share/gccxml-0.9/GCC/2.95/exception +20 -0
- data/share/gccxml-0.9/GCC/2.95/fstream +23 -0
- data/share/gccxml-0.9/GCC/2.95/functional +64 -0
- data/share/gccxml-0.9/GCC/2.95/gccxml_bitset +1066 -0
- data/share/gccxml-0.9/GCC/2.95/iomanip +20 -0
- data/share/gccxml-0.9/GCC/2.95/iosfwd +20 -0
- data/share/gccxml-0.9/GCC/2.95/iostream +27 -0
- data/share/gccxml-0.9/GCC/2.95/iterator +39 -0
- data/share/gccxml-0.9/GCC/2.95/list +19 -0
- data/share/gccxml-0.9/GCC/2.95/map +20 -0
- data/share/gccxml-0.9/GCC/2.95/memory +21 -0
- data/share/gccxml-0.9/GCC/2.95/new +13 -0
- data/share/gccxml-0.9/GCC/2.95/numeric +15 -0
- data/share/gccxml-0.9/GCC/2.95/pthread.h +16 -0
- data/share/gccxml-0.9/GCC/2.95/queue +20 -0
- data/share/gccxml-0.9/GCC/2.95/set +20 -0
- data/share/gccxml-0.9/GCC/2.95/sstream +24 -0
- data/share/gccxml-0.9/GCC/2.95/stack +19 -0
- data/share/gccxml-0.9/GCC/2.95/std/bastring.cc +524 -0
- data/share/gccxml-0.9/GCC/2.95/std/complext.h +397 -0
- data/share/gccxml-0.9/GCC/2.95/std/dcomplex.h +92 -0
- data/share/gccxml-0.9/GCC/2.95/std/fcomplex.h +88 -0
- data/share/gccxml-0.9/GCC/2.95/std/gslice_array.h +170 -0
- data/share/gccxml-0.9/GCC/2.95/std/indirect_array.h +157 -0
- data/share/gccxml-0.9/GCC/2.95/std/ldcomplex.h +96 -0
- data/share/gccxml-0.9/GCC/2.95/std/mask_array.h +154 -0
- data/share/gccxml-0.9/GCC/2.95/std/slice_array.h +156 -0
- data/share/gccxml-0.9/GCC/2.95/std/std_valarray.h +728 -0
- data/share/gccxml-0.9/GCC/2.95/std/straits.h +162 -0
- data/share/gccxml-0.9/GCC/2.95/std/valarray_meta.h +1035 -0
- data/share/gccxml-0.9/GCC/2.95/stdexcept +17 -0
- data/share/gccxml-0.9/GCC/2.95/stl_alloc.h +1057 -0
- data/share/gccxml-0.9/GCC/2.95/stl_bvector.h +836 -0
- data/share/gccxml-0.9/GCC/2.95/stl_deque.h +1699 -0
- data/share/gccxml-0.9/GCC/2.95/stl_list.h +843 -0
- data/share/gccxml-0.9/GCC/2.95/stl_tree.h +1331 -0
- data/share/gccxml-0.9/GCC/2.95/stl_vector.h +828 -0
- data/share/gccxml-0.9/GCC/2.95/string +26 -0
- data/share/gccxml-0.9/GCC/2.95/strstream +23 -0
- data/share/gccxml-0.9/GCC/2.95/typeinfo +11 -0
- data/share/gccxml-0.9/GCC/2.95/utility +25 -0
- data/share/gccxml-0.9/GCC/2.95/valarray +52 -0
- data/share/gccxml-0.9/GCC/2.95/vector +19 -0
- data/share/gccxml-0.9/GCC/2.96/sstream +305 -0
- data/share/gccxml-0.9/GCC/3.0/pthread.h +16 -0
- data/share/gccxml-0.9/GCC/3.1/pthread.h +16 -0
- data/share/gccxml-0.9/GCC/3.2/bits/fstream.tcc +500 -0
- data/share/gccxml-0.9/GCC/3.2/bits/gthr-default.h +581 -0
- data/share/gccxml-0.9/GCC/3.2/bits/istream.tcc +1207 -0
- data/share/gccxml-0.9/GCC/3.2/bits/locale_facets.h +1810 -0
- data/share/gccxml-0.9/GCC/3.2/bits/locale_facets.tcc +2397 -0
- data/share/gccxml-0.9/GCC/3.2/bits/messages_members.h +108 -0
- data/share/gccxml-0.9/GCC/3.2/bits/ostream.tcc +713 -0
- data/share/gccxml-0.9/GCC/3.2/bits/sstream.tcc +241 -0
- data/share/gccxml-0.9/GCC/3.2/bits/stl_deque.h +1682 -0
- data/share/gccxml-0.9/GCC/3.2/bits/stl_list.h +989 -0
- data/share/gccxml-0.9/GCC/3.2/bits/stl_tree.h +1462 -0
- data/share/gccxml-0.9/GCC/3.2/bits/stl_vector.h +1085 -0
- data/share/gccxml-0.9/GCC/3.2/bits/valarray_meta.h +1063 -0
- data/share/gccxml-0.9/GCC/3.2/fstream +579 -0
- data/share/gccxml-0.9/GCC/3.2/pthread.h +16 -0
- data/share/gccxml-0.9/GCC/3.2/sstream +384 -0
- data/share/gccxml-0.9/GCC/3.3/bits/fstream.tcc +530 -0
- data/share/gccxml-0.9/GCC/3.3/bits/list.tcc +378 -0
- data/share/gccxml-0.9/GCC/3.3/bits/locale_facets.h +2050 -0
- data/share/gccxml-0.9/GCC/3.3/bits/messages_members.h +108 -0
- data/share/gccxml-0.9/GCC/3.3/bits/sstream.tcc +243 -0
- data/share/gccxml-0.9/GCC/3.3/bits/stl_deque.h +1603 -0
- data/share/gccxml-0.9/GCC/3.3/bits/stl_list.h +1167 -0
- data/share/gccxml-0.9/GCC/3.3/bits/stl_tree.h +1462 -0
- data/share/gccxml-0.9/GCC/3.3/bits/stl_vector.h +992 -0
- data/share/gccxml-0.9/GCC/3.3/bits/valarray_meta.h +1135 -0
- data/share/gccxml-0.9/GCC/3.3/fstream +842 -0
- data/share/gccxml-0.9/GCC/3.3/gccxml_builtins.h +22 -0
- data/share/gccxml-0.9/GCC/3.3/sstream +638 -0
- data/share/gccxml-0.9/GCC/3.4/bits/gthr-default.h +664 -0
- data/share/gccxml-0.9/GCC/3.4/gccxml_builtins.h +91 -0
- data/share/gccxml-0.9/GCC/4.0/gccxml_builtins.h +128 -0
- data/share/gccxml-0.9/GCC/4.1/bits/gthr-default.h +618 -0
- data/share/gccxml-0.9/GCC/4.1/gccxml_builtins.h +131 -0
- data/share/gccxml-0.9/GCC/4.2/gccxml_builtins.h +131 -0
- data/share/gccxml-0.9/GCC/4.3/gccxml_builtins.h +182 -0
- data/share/gccxml-0.9/IBM/8.0/adapt_headers.sh +34 -0
- data/share/gccxml-0.9/IBM/8.0/stdlib.h.patch +27 -0
- data/share/gccxml-0.9/IBM/8.0/xstring.patch +19 -0
- data/share/gccxml-0.9/IBM/README +8 -0
- data/share/gccxml-0.9/IBM/find_flags +51 -0
- data/share/gccxml-0.9/IBM/find_flags_common +48 -0
- data/share/gccxml-0.9/Intel/find_flags +56 -0
- data/share/gccxml-0.9/Intel/pthread.h +16 -0
- data/share/gccxml-0.9/MIPSpro/7.3/exception +9 -0
- data/share/gccxml-0.9/MIPSpro/7.3/gccxml_mpro_internals.h +21 -0
- data/share/gccxml-0.9/MIPSpro/7.3/iomanip +161 -0
- data/share/gccxml-0.9/MIPSpro/7.3/ostream +9 -0
- data/share/gccxml-0.9/MIPSpro/7.3/stddef.h +9 -0
- data/share/gccxml-0.9/MIPSpro/7.3/stl_config.h +9 -0
- data/share/gccxml-0.9/MIPSpro/7.3/stl_locale.h +17 -0
- data/share/gccxml-0.9/MIPSpro/7.3/stl_monetary.h +14 -0
- data/share/gccxml-0.9/MIPSpro/7.3/stl_numeric_facets.h +13 -0
- data/share/gccxml-0.9/MIPSpro/7.3/stl_threads.h +11 -0
- data/share/gccxml-0.9/MIPSpro/7.3/string +18 -0
- data/share/gccxml-0.9/MIPSpro/find_flags +70 -0
- data/share/gccxml-0.9/MIPSpro/mipspro_defs.cxx +63 -0
- data/share/gccxml-0.9/Sun/5.8/Cstd.patch +156 -0
- data/share/gccxml-0.9/Sun/5.8/adapt_headers.sh +32 -0
- data/share/gccxml-0.9/Sun/5.8/std-5.10.patch +22 -0
- data/share/gccxml-0.9/Sun/README +8 -0
- data/share/gccxml-0.9/Sun/find_flags +51 -0
- data/share/gccxml-0.9/Sun/find_flags_common +42 -0
- data/share/gccxml-0.9/gccxml_config +2 -0
- data/share/gccxml-0.9/gccxml_identify_compiler.cc +13 -0
- data/share/man/man1/gccxml.1 +246 -0
- metadata +194 -0
@@ -0,0 +1,56 @@
|
|
1
|
+
#!/bin/sh
|
2
|
+
#=============================================================================
|
3
|
+
#
|
4
|
+
# Program: GCC-XML
|
5
|
+
# Module: $RCSfile: find_flags,v $
|
6
|
+
# Language: C++
|
7
|
+
# Date: $Date: 2005-04-07 12:51:07 $
|
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 GCC executable name.
|
20
|
+
if test "x$1" = "x" ; then
|
21
|
+
if test "x${CXX}" = "x" ; then
|
22
|
+
CXX=gcc
|
23
|
+
fi
|
24
|
+
else
|
25
|
+
CXX="$1"
|
26
|
+
shift
|
27
|
+
CXXFLAGS="$@"
|
28
|
+
fi
|
29
|
+
|
30
|
+
# Find the macro definition options.
|
31
|
+
MACROS=`echo "" | ${CXX} -x c++ -E -dM ${CXXFLAGS} - 2>/dev/null |
|
32
|
+
sed -n '
|
33
|
+
/^#define / {s/#define \([A-Za-z_][A-Za-z0-9_]*\) \(.*\)/-D\1='\''\2'\''/;p;}
|
34
|
+
' |
|
35
|
+
awk '
|
36
|
+
BEGIN { first=1 }
|
37
|
+
/./ { if(first) { printf("%s", $0); first=0 } else { printf(" %s", $0) } }
|
38
|
+
'`
|
39
|
+
|
40
|
+
# Find the include path options.
|
41
|
+
INCLUDES=`
|
42
|
+
echo "" | ${CXX} -v -x c++ -E ${CXXFLAGS} - 2>&1 |
|
43
|
+
awk '/^[ \t]*-I\/.* \\\\$/ { printf("%s ",$1) }
|
44
|
+
END {printf("\n")}' -
|
45
|
+
`
|
46
|
+
|
47
|
+
# The support headers are located where this script is.
|
48
|
+
SELFPATH=`echo $0 | sed -n '/\//{s/\/find_flags//;p;}'`
|
49
|
+
if test "x$SELFPATH" = "x" ; then SELFPATH="." ; fi
|
50
|
+
SELFPATH=`cd "$SELFPATH" ; pwd`
|
51
|
+
|
52
|
+
INCLUDES="-iwrapper\"$SELFPATH\" $INCLUDES"
|
53
|
+
|
54
|
+
# Format and print out the options.
|
55
|
+
OPTIONS="$MACROS -D_WCHAR_T $INCLUDES"
|
56
|
+
echo $OPTIONS
|
@@ -0,0 +1,16 @@
|
|
1
|
+
#ifndef GCCXML_PTHREAD_H
|
2
|
+
#define GCCXML_PTHREAD_H
|
3
|
+
|
4
|
+
/* Some pthread.h files use __thread, which is a keyword for GCC 3.3.
|
5
|
+
Change the name for the duration of including pthread.h. */
|
6
|
+
#ifndef __thread
|
7
|
+
# define __thread gccxml__thread
|
8
|
+
# define gccxml__thread gccxml__thread
|
9
|
+
#endif
|
10
|
+
#include_next <pthread.h>
|
11
|
+
#ifdef gccxml__thread
|
12
|
+
# undef gccxml__thread
|
13
|
+
# undef __thread
|
14
|
+
#endif
|
15
|
+
|
16
|
+
#endif
|
@@ -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,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,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 {
|