gccxml_gem 0.9-x86-cygwin
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/Rakefile +75 -0
- data/bin/gccxml.exe +0 -0
- data/bin/gccxml_cc1plus.exe +0 -0
- data/gccxml.rb +50 -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/Borland/5.5/Wrappers/algorithm +7 -0
- data/share/gccxml-0.9/Borland/5.5/Wrappers/algorithm.h +7 -0
- data/share/gccxml-0.9/Borland/5.5/Wrappers/bitset +7 -0
- data/share/gccxml-0.9/Borland/5.5/Wrappers/bitset.h +7 -0
- data/share/gccxml-0.9/Borland/5.5/Wrappers/cctype +1 -0
- data/share/gccxml-0.9/Borland/5.5/Wrappers/cfloat +1 -0
- data/share/gccxml-0.9/Borland/5.5/Wrappers/climits +1 -0
- data/share/gccxml-0.9/Borland/5.5/Wrappers/cmath +1 -0
- data/share/gccxml-0.9/Borland/5.5/Wrappers/complex +7 -0
- data/share/gccxml-0.9/Borland/5.5/Wrappers/complex.h +7 -0
- data/share/gccxml-0.9/Borland/5.5/Wrappers/cstddef +1 -0
- data/share/gccxml-0.9/Borland/5.5/Wrappers/cstdio +1 -0
- data/share/gccxml-0.9/Borland/5.5/Wrappers/cstdlib +1 -0
- data/share/gccxml-0.9/Borland/5.5/Wrappers/cstring +7 -0
- data/share/gccxml-0.9/Borland/5.5/Wrappers/cstring.h +7 -0
- data/share/gccxml-0.9/Borland/5.5/Wrappers/ctime +1 -0
- data/share/gccxml-0.9/Borland/5.5/Wrappers/cwchar +1 -0
- data/share/gccxml-0.9/Borland/5.5/Wrappers/cwctype +1 -0
- data/share/gccxml-0.9/Borland/5.5/Wrappers/deque +7 -0
- data/share/gccxml-0.9/Borland/5.5/Wrappers/deque.h +7 -0
- data/share/gccxml-0.9/Borland/5.5/Wrappers/exception +7 -0
- data/share/gccxml-0.9/Borland/5.5/Wrappers/exception.h +7 -0
- data/share/gccxml-0.9/Borland/5.5/Wrappers/fstream +7 -0
- data/share/gccxml-0.9/Borland/5.5/Wrappers/fstream.h +7 -0
- data/share/gccxml-0.9/Borland/5.5/Wrappers/function +7 -0
- data/share/gccxml-0.9/Borland/5.5/Wrappers/function.h +7 -0
- data/share/gccxml-0.9/Borland/5.5/Wrappers/functional +7 -0
- data/share/gccxml-0.9/Borland/5.5/Wrappers/gccxml_typeinfo.h +146 -0
- data/share/gccxml-0.9/Borland/5.5/Wrappers/iomanip +7 -0
- data/share/gccxml-0.9/Borland/5.5/Wrappers/iomanip.h +7 -0
- data/share/gccxml-0.9/Borland/5.5/Wrappers/ios +7 -0
- data/share/gccxml-0.9/Borland/5.5/Wrappers/ios.h +7 -0
- data/share/gccxml-0.9/Borland/5.5/Wrappers/iosfwd +7 -0
- data/share/gccxml-0.9/Borland/5.5/Wrappers/iosfwd.h +7 -0
- data/share/gccxml-0.9/Borland/5.5/Wrappers/iostream +7 -0
- data/share/gccxml-0.9/Borland/5.5/Wrappers/iostream.h +7 -0
- data/share/gccxml-0.9/Borland/5.5/Wrappers/istream +7 -0
- data/share/gccxml-0.9/Borland/5.5/Wrappers/istream.h +7 -0
- data/share/gccxml-0.9/Borland/5.5/Wrappers/iterator +7 -0
- data/share/gccxml-0.9/Borland/5.5/Wrappers/iterator.h +7 -0
- data/share/gccxml-0.9/Borland/5.5/Wrappers/limits +7 -0
- data/share/gccxml-0.9/Borland/5.5/Wrappers/limits.h +7 -0
- data/share/gccxml-0.9/Borland/5.5/Wrappers/list +7 -0
- data/share/gccxml-0.9/Borland/5.5/Wrappers/list.h +7 -0
- data/share/gccxml-0.9/Borland/5.5/Wrappers/locale +7 -0
- data/share/gccxml-0.9/Borland/5.5/Wrappers/locale.h +7 -0
- data/share/gccxml-0.9/Borland/5.5/Wrappers/map +7 -0
- data/share/gccxml-0.9/Borland/5.5/Wrappers/map.h +7 -0
- data/share/gccxml-0.9/Borland/5.5/Wrappers/memory +7 -0
- data/share/gccxml-0.9/Borland/5.5/Wrappers/memory.h +7 -0
- data/share/gccxml-0.9/Borland/5.5/Wrappers/new +7 -0
- data/share/gccxml-0.9/Borland/5.5/Wrappers/new.h +7 -0
- data/share/gccxml-0.9/Borland/5.5/Wrappers/numeric +7 -0
- data/share/gccxml-0.9/Borland/5.5/Wrappers/numeric.h +7 -0
- data/share/gccxml-0.9/Borland/5.5/Wrappers/ostream +7 -0
- data/share/gccxml-0.9/Borland/5.5/Wrappers/ostream.h +7 -0
- data/share/gccxml-0.9/Borland/5.5/Wrappers/queue +7 -0
- data/share/gccxml-0.9/Borland/5.5/Wrappers/queue.h +7 -0
- data/share/gccxml-0.9/Borland/5.5/Wrappers/rw/codecvt +1 -0
- data/share/gccxml-0.9/Borland/5.5/Wrappers/rw/collate +1 -0
- data/share/gccxml-0.9/Borland/5.5/Wrappers/rw/ctype +1 -0
- data/share/gccxml-0.9/Borland/5.5/Wrappers/rw/iosbase +1 -0
- data/share/gccxml-0.9/Borland/5.5/Wrappers/rw/iotraits +1 -0
- data/share/gccxml-0.9/Borland/5.5/Wrappers/rw/iterator +1 -0
- data/share/gccxml-0.9/Borland/5.5/Wrappers/rw/lochelp +1 -0
- data/share/gccxml-0.9/Borland/5.5/Wrappers/rw/locimpl +1 -0
- data/share/gccxml-0.9/Borland/5.5/Wrappers/rw/locvector +1 -0
- data/share/gccxml-0.9/Borland/5.5/Wrappers/rw/messages +1 -0
- data/share/gccxml-0.9/Borland/5.5/Wrappers/rw/money +1 -0
- data/share/gccxml-0.9/Borland/5.5/Wrappers/rw/numbrw +1 -0
- data/share/gccxml-0.9/Borland/5.5/Wrappers/rw/numeral +1 -0
- data/share/gccxml-0.9/Borland/5.5/Wrappers/rw/rwdispatch.h +1 -0
- data/share/gccxml-0.9/Borland/5.5/Wrappers/rw/rwlocale +1 -0
- data/share/gccxml-0.9/Borland/5.5/Wrappers/rw/rwstderr_macros.h +64 -0
- data/share/gccxml-0.9/Borland/5.5/Wrappers/rw/string_ref +1 -0
- data/share/gccxml-0.9/Borland/5.5/Wrappers/rw/time +1 -0
- data/share/gccxml-0.9/Borland/5.5/Wrappers/rw/traits +1 -0
- data/share/gccxml-0.9/Borland/5.5/Wrappers/rw/tree +1 -0
- data/share/gccxml-0.9/Borland/5.5/Wrappers/rw/usefacet +1 -0
- data/share/gccxml-0.9/Borland/5.5/Wrappers/rw/valimp +1 -0
- data/share/gccxml-0.9/Borland/5.5/Wrappers/rw/vendor +1 -0
- data/share/gccxml-0.9/Borland/5.5/Wrappers/set +7 -0
- data/share/gccxml-0.9/Borland/5.5/Wrappers/set.h +7 -0
- data/share/gccxml-0.9/Borland/5.5/Wrappers/sstream +7 -0
- data/share/gccxml-0.9/Borland/5.5/Wrappers/sstream.h +7 -0
- data/share/gccxml-0.9/Borland/5.5/Wrappers/stack +7 -0
- data/share/gccxml-0.9/Borland/5.5/Wrappers/stack.h +7 -0
- data/share/gccxml-0.9/Borland/5.5/Wrappers/stdexcept +7 -0
- data/share/gccxml-0.9/Borland/5.5/Wrappers/stdexcept.h +7 -0
- data/share/gccxml-0.9/Borland/5.5/Wrappers/streambuf +7 -0
- data/share/gccxml-0.9/Borland/5.5/Wrappers/streambuf.h +7 -0
- data/share/gccxml-0.9/Borland/5.5/Wrappers/string +7 -0
- data/share/gccxml-0.9/Borland/5.5/Wrappers/string.h +7 -0
- data/share/gccxml-0.9/Borland/5.5/Wrappers/strstream +7 -0
- data/share/gccxml-0.9/Borland/5.5/Wrappers/strstream.h +7 -0
- data/share/gccxml-0.9/Borland/5.5/Wrappers/typeinfo +7 -0
- data/share/gccxml-0.9/Borland/5.5/Wrappers/typeinfo.h +7 -0
- data/share/gccxml-0.9/Borland/5.5/Wrappers/utility +7 -0
- data/share/gccxml-0.9/Borland/5.5/Wrappers/utility.h +7 -0
- data/share/gccxml-0.9/Borland/5.5/Wrappers/valarray +7 -0
- data/share/gccxml-0.9/Borland/5.5/Wrappers/valarray.h +7 -0
- data/share/gccxml-0.9/Borland/5.5/Wrappers/vector +7 -0
- data/share/gccxml-0.9/Borland/5.5/Wrappers/vector.h +7 -0
- data/share/gccxml-0.9/Borland/5.5/except.h +154 -0
- data/share/gccxml-0.9/Borland/5.5/gccxml_fstream.h +431 -0
- data/share/gccxml-0.9/Borland/5.5/gccxml_new.h +166 -0
- data/share/gccxml-0.9/Borland/5.5/gccxml_valarray.h +786 -0
- data/share/gccxml-0.9/Borland/5.5/gccxml_vector.h +1457 -0
- data/share/gccxml-0.9/Borland/5.5/io.h +352 -0
- data/share/gccxml-0.9/Borland/5.5/oaidl.h +7006 -0
- data/share/gccxml-0.9/Borland/5.5/propidl.h +1477 -0
- data/share/gccxml-0.9/Borland/5.5/rw/locimpl.h +477 -0
- data/share/gccxml-0.9/Borland/5.5/rw/rwlocale.h +619 -0
- data/share/gccxml-0.9/Borland/5.5/stdarg.h +55 -0
- data/share/gccxml-0.9/Borland/5.5/valarray.cc +2883 -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/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/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/find_flags +105 -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 +137 -0
- data/share/gccxml-0.9/Sun/5.8/adaptation.patch +168 -0
- data/share/gccxml-0.9/Sun/README +8 -0
- data/share/gccxml-0.9/Sun/adapt_headers.sh +24 -0
- data/share/gccxml-0.9/Sun/find_flags +69 -0
- data/share/gccxml-0.9/gccxml_config +2 -0
- data/share/gccxml-0.9/gccxml_find_flags +93 -0
- data/share/man/man1/gccxml.1 +246 -0
- metadata +324 -0
@@ -0,0 +1,131 @@
|
|
1
|
+
#define __builtin_apply(x,y,z) ((void*)0)
|
2
|
+
#define __builtin_nan(x) (0.0)
|
3
|
+
#define __builtin_nanf(x) (0.0f)
|
4
|
+
#define __builtin_nanl(x) (0.0l)
|
5
|
+
#define __builtin_huge_val(x) (0.0)
|
6
|
+
#define __builtin_huge_valf(x) (0.0f)
|
7
|
+
#define __builtin_huge_vall(x) (0.0l)
|
8
|
+
#define __builtin_apply_args(x) ((void*)0)
|
9
|
+
#define __builtin_types_compatible_p(x,y) 0
|
10
|
+
#define __builtin_choose_expr(x,y,z) int
|
11
|
+
#define __builtin_constant_p(x) 0
|
12
|
+
#define __builtin_offsetof(x,y) 0
|
13
|
+
void __builtin_return (void *RESULT);
|
14
|
+
void * __builtin_return_address (unsigned int LEVEL);
|
15
|
+
void * __builtin_frame_address (unsigned int LEVEL);
|
16
|
+
long __builtin_expect (long EXP, long C);
|
17
|
+
void __builtin_prefetch (const void *ADDR, ...);
|
18
|
+
double __builtin_inf (void);
|
19
|
+
float __builtin_inff (void);
|
20
|
+
long double __builtin_infl (void);
|
21
|
+
double __builtin_nans (const char *str);
|
22
|
+
float __builtin_nansf (const char *str);
|
23
|
+
long double __builtin_nansl (const char *str);
|
24
|
+
double __builtin_acos(double);
|
25
|
+
float __builtin_acosf(float);
|
26
|
+
long double __builtin_acosl(long double);
|
27
|
+
double __builtin_asin(double);
|
28
|
+
float __builtin_asinf(float);
|
29
|
+
long double __builtin_asinl(long double);
|
30
|
+
double __builtin_atan(double);
|
31
|
+
double __builtin_atan2(double, double);
|
32
|
+
float __builtin_atan2f(float, float);
|
33
|
+
long double __builtin_atan2l(long double, long double);
|
34
|
+
float __builtin_atanf(float);
|
35
|
+
long double __builtin_atanl(long double);
|
36
|
+
double __builtin_ceil(double);
|
37
|
+
float __builtin_ceilf(float);
|
38
|
+
long double __builtin_ceill(long double);
|
39
|
+
double __builtin_cos(double);
|
40
|
+
float __builtin_cosf(float);
|
41
|
+
double __builtin_cosh(double);
|
42
|
+
float __builtin_coshf(float);
|
43
|
+
long double __builtin_coshl(long double);
|
44
|
+
long double __builtin_cosl(long double);
|
45
|
+
double __builtin_exp(double);
|
46
|
+
float __builtin_expf(float);
|
47
|
+
long double __builtin_expl(long double);
|
48
|
+
double __builtin_fabs(double);
|
49
|
+
float __builtin_fabsf(float);
|
50
|
+
long double __builtin_fabsl(long double);
|
51
|
+
double __builtin_floor(double);
|
52
|
+
float __builtin_floorf(float);
|
53
|
+
long double __builtin_floorl(long double);
|
54
|
+
float __builtin_fmodf(float, float);
|
55
|
+
long double __builtin_fmodl(long double, long double);
|
56
|
+
double __builtin_frexp(double, int*);
|
57
|
+
float __builtin_frexpf(float, int*);
|
58
|
+
long double __builtin_frexpl(long double, int*);
|
59
|
+
double __builtin_ldexp(double, int);
|
60
|
+
float __builtin_ldexpf(float, int);
|
61
|
+
long double __builtin_ldexpl(long double, int);
|
62
|
+
double __builtin_log(double);
|
63
|
+
double __builtin_log10(double);
|
64
|
+
float __builtin_log10f(float);
|
65
|
+
long double __builtin_log10l(long double);
|
66
|
+
float __builtin_logf(float);
|
67
|
+
long double __builtin_logl(long double);
|
68
|
+
float __builtin_modff(float, float*);
|
69
|
+
long double __builtin_modfl(long double, long double*);
|
70
|
+
float __builtin_powf(float, float);
|
71
|
+
long double __builtin_powl(long double, long double);
|
72
|
+
double __builtin_powi(double, int);
|
73
|
+
float __builtin_powif(float, int);
|
74
|
+
long double __builtin_powil(long double, int);
|
75
|
+
double __builtin_sin(double);
|
76
|
+
float __builtin_sinf(float);
|
77
|
+
double __builtin_sinh(double);
|
78
|
+
float __builtin_sinhf(float);
|
79
|
+
long double __builtin_sinhl(long double);
|
80
|
+
long double __builtin_sinl(long double);
|
81
|
+
double __builtin_sqrt(double);
|
82
|
+
float __builtin_sqrtf(float);
|
83
|
+
long double __builtin_sqrtl(long double);
|
84
|
+
double __builtin_tan(double);
|
85
|
+
float __builtin_tanf(float);
|
86
|
+
double __builtin_tanh(double);
|
87
|
+
float __builtin_tanhf(float);
|
88
|
+
long double __builtin_tanhl(long double);
|
89
|
+
long double __builtin_tanl(long double);
|
90
|
+
float __builtin_cabsf(float __complex__);
|
91
|
+
double __builtin_cabs(double __complex__);
|
92
|
+
long double __builtin_cabsl(long double __complex__);
|
93
|
+
float __builtin_cargf(float __complex__);
|
94
|
+
double __builtin_carg(double __complex__);
|
95
|
+
long double __builtin_cargl(long double __complex__);
|
96
|
+
int __builtin_ctz(int);
|
97
|
+
int __builtin_ctzl(long);
|
98
|
+
int __builtin_ctzll(long long);
|
99
|
+
int __builtin_popcount(int);
|
100
|
+
int __builtin_popcountl(long);
|
101
|
+
int __builtin_popcountll(long long);
|
102
|
+
float __complex__ __builtin_ccosf(float __complex__);
|
103
|
+
double __complex__ __builtin_ccos(double __complex__);
|
104
|
+
long double __complex__ __builtin_ccosl(long double __complex__);
|
105
|
+
float __complex__ __builtin_ccoshf(float __complex__);
|
106
|
+
double __complex__ __builtin_ccosh(double __complex__);
|
107
|
+
long double __complex__ __builtin_ccoshl(long double __complex__);
|
108
|
+
float __complex__ __builtin_cexpf(float __complex__);
|
109
|
+
double __complex__ __builtin_cexp(double __complex__);
|
110
|
+
long double __complex__ __builtin_cexpl(long double __complex__);
|
111
|
+
float __complex__ __builtin_clogf(float __complex__);
|
112
|
+
double __complex__ __builtin_clog(double __complex__);
|
113
|
+
long double __complex__ __builtin_clogl(long double __complex__);
|
114
|
+
float __complex__ __builtin_csinf(float __complex__);
|
115
|
+
double __complex__ __builtin_csin(double __complex__);
|
116
|
+
long double __complex__ __builtin_csinl(long double __complex__);
|
117
|
+
float __complex__ __builtin_csinhf(float __complex__);
|
118
|
+
double __complex__ __builtin_csinh(double __complex__);
|
119
|
+
long double __complex__ __builtin_csinhl(long double __complex__);
|
120
|
+
float __complex__ __builtin_csqrtf(float __complex__);
|
121
|
+
double __complex__ __builtin_csqrt(double __complex__);
|
122
|
+
long double __complex__ __builtin_csqrtl(long double __complex__);
|
123
|
+
float __complex__ __builtin_ctanf(float __complex__);
|
124
|
+
double __complex__ __builtin_ctan(double __complex__);
|
125
|
+
long double __complex__ __builtin_ctanl(long double __complex__);
|
126
|
+
float __complex__ __builtin_ctanhf(float __complex__);
|
127
|
+
double __complex__ __builtin_ctanh(double __complex__);
|
128
|
+
long double __complex__ __builtin_ctanhl(long double __complex__);
|
129
|
+
float __complex__ __builtin_cpowf(float __complex__, float __complex__);
|
130
|
+
double __complex__ __builtin_cpow(double __complex__, double __complex__);
|
131
|
+
long double __complex__ __builtin_cpowl(long double __complex__, long double __complex__);
|
@@ -0,0 +1,131 @@
|
|
1
|
+
#define __builtin_apply(x,y,z) ((void*)0)
|
2
|
+
#define __builtin_nan(x) (0.0)
|
3
|
+
#define __builtin_nanf(x) (0.0f)
|
4
|
+
#define __builtin_nanl(x) (0.0l)
|
5
|
+
#define __builtin_huge_val(x) (0.0)
|
6
|
+
#define __builtin_huge_valf(x) (0.0f)
|
7
|
+
#define __builtin_huge_vall(x) (0.0l)
|
8
|
+
#define __builtin_apply_args(x) ((void*)0)
|
9
|
+
#define __builtin_types_compatible_p(x,y) 0
|
10
|
+
#define __builtin_choose_expr(x,y,z) int
|
11
|
+
#define __builtin_constant_p(x) 0
|
12
|
+
#define __builtin_offsetof(x,y) 0
|
13
|
+
void __builtin_return (void *RESULT);
|
14
|
+
void * __builtin_return_address (unsigned int LEVEL);
|
15
|
+
void * __builtin_frame_address (unsigned int LEVEL);
|
16
|
+
long __builtin_expect (long EXP, long C);
|
17
|
+
void __builtin_prefetch (const void *ADDR, ...);
|
18
|
+
double __builtin_inf (void);
|
19
|
+
float __builtin_inff (void);
|
20
|
+
long double __builtin_infl (void);
|
21
|
+
double __builtin_nans (const char *str);
|
22
|
+
float __builtin_nansf (const char *str);
|
23
|
+
long double __builtin_nansl (const char *str);
|
24
|
+
double __builtin_acos(double);
|
25
|
+
float __builtin_acosf(float);
|
26
|
+
long double __builtin_acosl(long double);
|
27
|
+
double __builtin_asin(double);
|
28
|
+
float __builtin_asinf(float);
|
29
|
+
long double __builtin_asinl(long double);
|
30
|
+
double __builtin_atan(double);
|
31
|
+
double __builtin_atan2(double, double);
|
32
|
+
float __builtin_atan2f(float, float);
|
33
|
+
long double __builtin_atan2l(long double, long double);
|
34
|
+
float __builtin_atanf(float);
|
35
|
+
long double __builtin_atanl(long double);
|
36
|
+
double __builtin_ceil(double);
|
37
|
+
float __builtin_ceilf(float);
|
38
|
+
long double __builtin_ceill(long double);
|
39
|
+
double __builtin_cos(double);
|
40
|
+
float __builtin_cosf(float);
|
41
|
+
double __builtin_cosh(double);
|
42
|
+
float __builtin_coshf(float);
|
43
|
+
long double __builtin_coshl(long double);
|
44
|
+
long double __builtin_cosl(long double);
|
45
|
+
double __builtin_exp(double);
|
46
|
+
float __builtin_expf(float);
|
47
|
+
long double __builtin_expl(long double);
|
48
|
+
double __builtin_fabs(double);
|
49
|
+
float __builtin_fabsf(float);
|
50
|
+
long double __builtin_fabsl(long double);
|
51
|
+
double __builtin_floor(double);
|
52
|
+
float __builtin_floorf(float);
|
53
|
+
long double __builtin_floorl(long double);
|
54
|
+
float __builtin_fmodf(float, float);
|
55
|
+
long double __builtin_fmodl(long double, long double);
|
56
|
+
double __builtin_frexp(double, int*);
|
57
|
+
float __builtin_frexpf(float, int*);
|
58
|
+
long double __builtin_frexpl(long double, int*);
|
59
|
+
double __builtin_ldexp(double, int);
|
60
|
+
float __builtin_ldexpf(float, int);
|
61
|
+
long double __builtin_ldexpl(long double, int);
|
62
|
+
double __builtin_log(double);
|
63
|
+
double __builtin_log10(double);
|
64
|
+
float __builtin_log10f(float);
|
65
|
+
long double __builtin_log10l(long double);
|
66
|
+
float __builtin_logf(float);
|
67
|
+
long double __builtin_logl(long double);
|
68
|
+
float __builtin_modff(float, float*);
|
69
|
+
long double __builtin_modfl(long double, long double*);
|
70
|
+
float __builtin_powf(float, float);
|
71
|
+
long double __builtin_powl(long double, long double);
|
72
|
+
double __builtin_powi(double, int);
|
73
|
+
float __builtin_powif(float, int);
|
74
|
+
long double __builtin_powil(long double, int);
|
75
|
+
double __builtin_sin(double);
|
76
|
+
float __builtin_sinf(float);
|
77
|
+
double __builtin_sinh(double);
|
78
|
+
float __builtin_sinhf(float);
|
79
|
+
long double __builtin_sinhl(long double);
|
80
|
+
long double __builtin_sinl(long double);
|
81
|
+
double __builtin_sqrt(double);
|
82
|
+
float __builtin_sqrtf(float);
|
83
|
+
long double __builtin_sqrtl(long double);
|
84
|
+
double __builtin_tan(double);
|
85
|
+
float __builtin_tanf(float);
|
86
|
+
double __builtin_tanh(double);
|
87
|
+
float __builtin_tanhf(float);
|
88
|
+
long double __builtin_tanhl(long double);
|
89
|
+
long double __builtin_tanl(long double);
|
90
|
+
float __builtin_cabsf(float __complex__);
|
91
|
+
double __builtin_cabs(double __complex__);
|
92
|
+
long double __builtin_cabsl(long double __complex__);
|
93
|
+
float __builtin_cargf(float __complex__);
|
94
|
+
double __builtin_carg(double __complex__);
|
95
|
+
long double __builtin_cargl(long double __complex__);
|
96
|
+
int __builtin_ctz(int);
|
97
|
+
int __builtin_ctzl(long);
|
98
|
+
int __builtin_ctzll(long long);
|
99
|
+
int __builtin_popcount(int);
|
100
|
+
int __builtin_popcountl(long);
|
101
|
+
int __builtin_popcountll(long long);
|
102
|
+
float __complex__ __builtin_ccosf(float __complex__);
|
103
|
+
double __complex__ __builtin_ccos(double __complex__);
|
104
|
+
long double __complex__ __builtin_ccosl(long double __complex__);
|
105
|
+
float __complex__ __builtin_ccoshf(float __complex__);
|
106
|
+
double __complex__ __builtin_ccosh(double __complex__);
|
107
|
+
long double __complex__ __builtin_ccoshl(long double __complex__);
|
108
|
+
float __complex__ __builtin_cexpf(float __complex__);
|
109
|
+
double __complex__ __builtin_cexp(double __complex__);
|
110
|
+
long double __complex__ __builtin_cexpl(long double __complex__);
|
111
|
+
float __complex__ __builtin_clogf(float __complex__);
|
112
|
+
double __complex__ __builtin_clog(double __complex__);
|
113
|
+
long double __complex__ __builtin_clogl(long double __complex__);
|
114
|
+
float __complex__ __builtin_csinf(float __complex__);
|
115
|
+
double __complex__ __builtin_csin(double __complex__);
|
116
|
+
long double __complex__ __builtin_csinl(long double __complex__);
|
117
|
+
float __complex__ __builtin_csinhf(float __complex__);
|
118
|
+
double __complex__ __builtin_csinh(double __complex__);
|
119
|
+
long double __complex__ __builtin_csinhl(long double __complex__);
|
120
|
+
float __complex__ __builtin_csqrtf(float __complex__);
|
121
|
+
double __complex__ __builtin_csqrt(double __complex__);
|
122
|
+
long double __complex__ __builtin_csqrtl(long double __complex__);
|
123
|
+
float __complex__ __builtin_ctanf(float __complex__);
|
124
|
+
double __complex__ __builtin_ctan(double __complex__);
|
125
|
+
long double __complex__ __builtin_ctanl(long double __complex__);
|
126
|
+
float __complex__ __builtin_ctanhf(float __complex__);
|
127
|
+
double __complex__ __builtin_ctanh(double __complex__);
|
128
|
+
long double __complex__ __builtin_ctanhl(long double __complex__);
|
129
|
+
float __complex__ __builtin_cpowf(float __complex__, float __complex__);
|
130
|
+
double __complex__ __builtin_cpow(double __complex__, double __complex__);
|
131
|
+
long double __complex__ __builtin_cpowl(long double __complex__, long double __complex__);
|
@@ -0,0 +1,105 @@
|
|
1
|
+
#!/bin/sh
|
2
|
+
#=============================================================================
|
3
|
+
#
|
4
|
+
# Program: GCC-XML
|
5
|
+
# Module: $RCSfile: find_flags,v $
|
6
|
+
# Language: C++
|
7
|
+
# Date: $Date: 2008-03-19 21:14:33 $
|
8
|
+
# Version: $Revision: 1.21 $
|
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 '/^[^ \/].*$/ { if (f) { printf("\n"); exit } }
|
44
|
+
/^[ ]*\/[^ ]*$/ { if (f) { printf("-I%s ",$0) } }
|
45
|
+
/\#include <\.\.\..*$/ {f=1} ' - |
|
46
|
+
sed 's/^-I /-I/;s/ -I / -I/g'
|
47
|
+
`
|
48
|
+
|
49
|
+
# The support headers are located where this script is.
|
50
|
+
SELFPATH=`echo $0 | sed -n '/\//{s/\/find_flags//;p;}'`
|
51
|
+
if test "x$SELFPATH" = "x" ; then SELFPATH="." ; fi
|
52
|
+
SELFPATH=`cd "$SELFPATH" ; pwd`
|
53
|
+
|
54
|
+
# Determine the major version number.
|
55
|
+
MAJOR_VERSION=`
|
56
|
+
echo "__GNUC__" | ${CXX} -v -x c++ -E ${CXXFLAGS} - 2>/dev/null |
|
57
|
+
sed -n '/^[0-9]/{s/[^0-9]//g;p;}'`
|
58
|
+
|
59
|
+
MINOR_VERSION=`
|
60
|
+
echo "__GNUC_MINOR__" | ${CXX} -v -x c++ -E ${CXXFLAGS} - 2>/dev/null |
|
61
|
+
sed -n '/^[0-9]/{s/[^0-9]//g;p;}'`
|
62
|
+
|
63
|
+
# hack to handle bad gcc 4.0 on RedHat
|
64
|
+
if [ "$MAJOR_VERSION" = 4 ]; then
|
65
|
+
if echo "$INCLUDES" | grep "c++/3\.4" > /dev/null 2>&1; then
|
66
|
+
MAJOR_VERSION=3
|
67
|
+
MINOR_VERSION=4
|
68
|
+
fi
|
69
|
+
fi
|
70
|
+
|
71
|
+
# For GCC versions before 3, some special options are needed.
|
72
|
+
if [ "$MAJOR_VERSION" -lt 3 ]; then
|
73
|
+
INCLUDES="-iwrapper\"$SELFPATH/2.95\" $INCLUDES"
|
74
|
+
if [ "$MINOR_VERSION" = 96 ]; then
|
75
|
+
INCLUDES="-iwrapper\"$SELFPATH/2.96\" $INCLUDES"
|
76
|
+
fi
|
77
|
+
elif [ "$MAJOR_VERSION" = 4 -a "$MINOR_VERSION" -ge 3 ]; then
|
78
|
+
INCLUDES="-iwrapper\"$SELFPATH/4.3\" $INCLUDES"
|
79
|
+
SPECIAL="-include \"gccxml_builtins.h\""
|
80
|
+
elif [ "$MAJOR_VERSION" = 4 -a "$MINOR_VERSION" -ge 2 ]; then
|
81
|
+
INCLUDES="-iwrapper\"$SELFPATH/4.2\" $INCLUDES"
|
82
|
+
SPECIAL="-include \"gccxml_builtins.h\""
|
83
|
+
elif [ "$MAJOR_VERSION" = 4 -a "$MINOR_VERSION" -ge 1 ]; then
|
84
|
+
INCLUDES="-iwrapper\"$SELFPATH/4.1\" $INCLUDES"
|
85
|
+
SPECIAL="-include \"gccxml_builtins.h\""
|
86
|
+
elif [ "$MAJOR_VERSION" = 4 -a "$MINOR_VERSION" -ge 0 ]; then
|
87
|
+
INCLUDES="-iwrapper\"$SELFPATH/4.0\" $INCLUDES"
|
88
|
+
SPECIAL="-include \"gccxml_builtins.h\""
|
89
|
+
elif [ "$MAJOR_VERSION" = 3 -a "$MINOR_VERSION" -ge 4 ]; then
|
90
|
+
INCLUDES="-iwrapper\"$SELFPATH/3.4\" $INCLUDES"
|
91
|
+
SPECIAL="-include \"gccxml_builtins.h\""
|
92
|
+
elif [ "$MAJOR_VERSION" = 3 -a "$MINOR_VERSION" = 3 ]; then
|
93
|
+
INCLUDES="-iwrapper\"$SELFPATH/3.3\" $INCLUDES"
|
94
|
+
SPECIAL="-include \"gccxml_builtins.h\""
|
95
|
+
elif [ "$MAJOR_VERSION" = 3 -a "$MINOR_VERSION" = 2 ]; then
|
96
|
+
INCLUDES="-iwrapper\"$SELFPATH/3.2\" $INCLUDES"
|
97
|
+
elif [ "$MAJOR_VERSION" = 3 -a "$MINOR_VERSION" = 1 ]; then
|
98
|
+
INCLUDES="-iwrapper\"$SELFPATH/3.1\" $INCLUDES"
|
99
|
+
elif [ "$MAJOR_VERSION" = 3 -a "$MINOR_VERSION" = 0 ]; then
|
100
|
+
INCLUDES="-iwrapper\"$SELFPATH/3.0\" $INCLUDES"
|
101
|
+
fi
|
102
|
+
|
103
|
+
# Format and print out the options.
|
104
|
+
OPTIONS="$MACROS $INCLUDES $SPECIAL"
|
105
|
+
echo $OPTIONS
|
@@ -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
|
+
|