acinclude.m4 (GLIBCXX_ENABLE_CHEADERS): Add c_global.
2007-03-04 Benjamin Kosnik <bkoz@redhat.com> * acinclude.m4 (GLIBCXX_ENABLE_CHEADERS): Add c_global. * configure.host (c_model): Set default to c_global. * configure: Regenerate. * include/Makefile.am (c_compatibility_headers_extra): Make conditional on GLIBCXX_C_HEADERS_COMPATIBILITY. (c_base_headers_extra): Make conditional on GLIBCXX_C_HEADERS_EXTRA. (c_compatibility_headers): Make conditional on c/c_std/c_global. * include/Makefile.in: Regenerate. * docs/html/configopts.html: Add c_global information to --enable-cheaders. Eventually, "c_std" should mean "C" includes that are in namespace std, with optional C++ "C" compatibility includes to inject into global scope. And "c_global" should mean "C" includes that are in the global namespace, with C++ includes injecting into namespace std and no C++ "C" compatibility includes. 2007-03-04 Benjamin Kosnik <bkoz@redhat.com> * include/bits/c++config: Add _GLIBCXX_NAMEPACE_C. Add _GLIBCXX_NAMESPACE_ASSOCIATION_CXX200x. Add _GLIBCXX_TR1 as namespace macro. Add namespace associations for std::__cxx200x conditionally. * include/c_compatibility/assert.h: Correct doxygen markup, conditionalize the global injections on _GLIBCXX_NAMESPACE_C. * include/c_compatibility/ctype.h: Same. * include/c_compatibility/errno.h: Same. * include/c_compatibility/float.h: Same. * include/c_compatibility/iso646.h: Same. * include/c_compatibility/limits.h: Same. * include/c_compatibility/locale.h: Same. * include/c_compatibility/math.h: Same. * include/c_compatibility/setjmp.h: Same. * include/c_compatibility/signal.h: Same. * include/c_compatibility/stdarg.h: Same. * include/c_compatibility/stddef.h: Same. * include/c_compatibility/stdio.h: Same. * include/c_compatibility/stdlib.h: Same. * include/c_compatibility/string.h: Same. * include/c_compatibility/time.h: Same. * include/c_compatibility/wchar.h: Same. * include/c_compatibility/wctype.h: Same. * include/c_compatibility/complex.h: Add. * include/c_compatibility/fenv.h: Same. * include/c_compatibility/inttypes.h: Same. * include/c_compatibility/stdbool.h: Same. * include/c_compatibility/stdint.h: Same. * include/c_compatibility/tgmath.h: Same. * include/c_global/cassert: Add, use include_next, use C++0x features if -std=c++0x. * include/c_global/cctype: Same. * include/c_global/cerrno: Same. * include/c_global/cfloat: Same. * include/c_global/ciso646: Same. * include/c_global/climits: Same. * include/c_global/clocale: Same. * include/c_global/cmath: Same. * include/c_global/cmath.tcc: Same. * include/c_global/csetjmp: Same. * include/c_global/csignal: Same. * include/c_global/cstdarg: Same. * include/c_global/cstddef: Same. * include/c_global/cstdio: Same. * include/c_global/cstdlib: Same. * include/c_global/cstring: Same. * include/c_global/ctime: Same. * include/c_global/cwchar: Same. * include/c_global/cwctype: Same. * include/c_global/ccomplex: Add. * include/c_global/cfenv: Add. * include/c_global/cinttypes: Add. * include/c_global/cstdbool: Add. * include/c_global/cstdint: Add. * include/c_global/ctgmath: Add. * include/std/algorithm: Use C++0x features if -std=c++0x. * include/std/bitset: Same. * include/std/complex: Same. * include/std/deque: Same. * include/std/fstream: Same. * include/std/functional: Same. * include/std/iomanip: Same. * include/std/ios: Same. * include/std/iosfwd: Same. * include/std/iostream: Same. * include/std/istream: Same. * include/std/iterator: Same. * include/std/limits: Same. * include/std/list: Same. * include/std/locale: Same. * include/std/map: Same. * include/std/memory: Same. * include/std/numeric: Same. * include/std/ostream: Same. * include/std/queue: Same. * include/std/set: Same. * include/std/sstream: Same. * include/std/stack: Same. * include/std/stdexcept: Same. * include/std/streambuf: Same. * include/std/string: Same. * include/std/utility: Same. * include/std/valarray: Same. * include/std/vector: Same. * include/std/array: Add. * include/std/random: Add. * include/std/regex: Add. * include/std/tuple: Add. * include/std/type_traits: Add. * include/std/unordered_map: Add. * include/std/unordered_set: Add. * include/std/c++0x_warning.h: Add. * include/tr1/array: Switch namespaces based on _GLIBCXX_TR1. * include/tr1/boost_shared_ptr.h: Same. * include/tr1/cctype: Same. * include/tr1/cfenv: Same. * include/tr1/cinttypes: Same. * include/tr1/cmath: Same. * include/tr1/common.h: Same. * include/tr1/complex: Same. * include/tr1/cstdint: Same. * include/tr1/cstdio: Same. * include/tr1/cstdlib: Same. * include/tr1/cwchar: Same. * include/tr1/cwctype: Same. * include/tr1/functional: Same. * include/tr1/functional_hash.h: Same. * include/tr1/functional_iterate.h: Same. * include/tr1/hashtable: Same. * include/tr1/hashtable_policy.h: Same. * include/tr1/math.h: Same. * include/tr1/memory: Same. * include/tr1/random: Same. * include/tr1/random.tcc: Same. * include/tr1/ref_fwd.h: Same. * include/tr1/repeat.h: Same. * include/tr1/stdlib.h: Same. * include/tr1/tuple: Same. * include/tr1/tuple_iterate.h: Same. * include/tr1/type_traits: Same. * include/tr1/type_traits_fwd.h: Same. * include/tr1/unordered_map: Same. * include/tr1/unordered_set: Same. * include/tr1/utility: Same. * include/tr1/ccomplex: Add. * include/tr1/complex.h: Add. * include/tr1/regex: Add. * include/Makefile.am: Add C++0x headers, "C" compatibility headers. * include/Makefile.in: Regenerate. * testsuite/tr1/headers.cc: Add in regex/complex. * testsuite/17_intro/headers/c++200x/all.cc: New. * testsuite/17_intro/headers/c++200x/all_multiple_inclusion.cc: Same. * testsuite/17_intro/using_namespace_std_tr1_neg.cc: Same. * testsuite/18_support/headers/cstdbool/std_c++0x_neg.cc: Same. * testsuite/18_support/headers/cstdint/std_c++0x_neg.cc: Same. * testsuite/18_support/headers/cstdint/types_std_c++0x.cc: Same. * testsuite/20_util/enable_shared_from_this/requirements/ explicit_instantiation.cc: Same. * testsuite/20_util/headers/functional/types_std_c++0x.cc: Same. * testsuite/20_util/headers/functional/ using_namespace_std_placeholders.cc: Same. * testsuite/20_util/headers/memory/types_std_c++0x.cc: Same. * testsuite/20_util/headers/type_traits/std_c++0x_neg.cc: Same. * testsuite/20_util/headers/type_traits/types_std_c++0x.cc: Same. * testsuite/20_util/shared_ptr/requirements/ explicit_instantiation.cc: Same. * testsuite/20_util/weak_ptr/requirements/ explicit_instantiation.cc: Same. * testsuite/23_containers/array/requirements/ explicit_instantiation.cc: Same. * testsuite/23_containers/hash/requirements/ explicit_instantiation.cc: Same. * testsuite/23_containers/headers/array/std_c++0x_neg.cc: Same. * testsuite/23_containers/headers/tuple/std_c++0x_neg.cc: Same. * testsuite/23_containers/headers/tuple/types_std_c++0x.cc: Same. * testsuite/23_containers/headers/unordered_map/std_c++0x_neg.cc: Same. * testsuite/23_containers/headers/unordered_set/std_c++0x_neg.cc: Same. * testsuite/23_containers/tuple/requirements/ explicit_instantiation.cc: Same. * testsuite/23_containers/unordered_map/requirements/ explicit_instantiation.cc: Same. * testsuite/23_containers/unordered_multimap/requirements/ explicit_instantiation.cc: Same. * testsuite/23_containers/unordered_multiset/requirements/ explicit_instantiation.cc: Same. * testsuite/23_containers/unordered_set/requirements/ explicit_instantiation.cc: Same. * testsuite/26_numerics/headers/ccomplex/std_c++0x_neg.cc: Same. * testsuite/26_numerics/headers/cfenv/std_c++0x_neg.cc: Same. * testsuite/26_numerics/headers/cfenv/types_std_c++0x.cc: Same. * testsuite/26_numerics/headers/cmath/types_std_c++0x.cc: Same. * testsuite/26_numerics/headers/cstdlib/types_std_c++0x.cc: Same. * testsuite/26_numerics/headers/ctgmath/std_c++0x_neg.cc: Same. * testsuite/26_numerics/headers/random/std_c++0x_neg.cc: Same. * testsuite/26_numerics/headers/random/types_std_c++0x.cc: Same. * testsuite/27_io/headers/cinttypes/std_c++0x_neg.cc: Same. * testsuite/27_io/headers/cinttypes/types_std_c++0x.cc: Same. * testsuite/28_regex/headers/regex/std_c++0x_neg.cc: Same. * testsuite/tr1/8_c_compatibility/cfenv/types.cc: Rename ... * testsuite/tr1/8_c_compatibility/cinttypes/types.cc: Same. * testsuite/tr1/8_c_compatibility/cmath/types.cc: Same. * testsuite/tr1/8_c_compatibility/cstdint/types.cc: Same. * testsuite/tr1/8_c_compatibility/cstdlib/types.cc: Same. * testsuite/tr1/8_c_compatibility/cfenv/types_std_tr1.cc: ...to this. * testsuite/tr1/8_c_compatibility/cinttypes/types_std_tr1.cc: Same. * testsuite/tr1/8_c_compatibility/cmath/types_std_tr1.cc: Same. * testsuite/tr1/8_c_compatibility/cstdint/types_std_tr1.cc: Same. * testsuite/tr1/8_c_compatibility/cstdlib/types_std_tr1.cc: Same. From-SVN: r122533
This commit is contained in:
parent
2a2193e029
commit
af13a7a6ec
@ -1,3 +1,224 @@
|
||||
2007-03-04 Benjamin Kosnik <bkoz@redhat.com>
|
||||
|
||||
* acinclude.m4 (GLIBCXX_ENABLE_CHEADERS): Add c_global.
|
||||
* configure.host (c_model): Set default to c_global.
|
||||
* configure: Regenerate.
|
||||
* include/Makefile.am (c_compatibility_headers_extra): Make
|
||||
conditional on GLIBCXX_C_HEADERS_COMPATIBILITY.
|
||||
(c_base_headers_extra): Make conditional on GLIBCXX_C_HEADERS_EXTRA.
|
||||
(c_compatibility_headers): Make conditional on c/c_std/c_global.
|
||||
* include/Makefile.in: Regenerate.
|
||||
* docs/html/configopts.html: Add c_global information to
|
||||
--enable-cheaders. Eventually, "c_std" should mean "C" includes
|
||||
that are in namespace std, with optional C++ "C" compatibility
|
||||
includes to inject into global scope. And "c_global" should mean
|
||||
"C" includes that are in the global namespace, with C++ includes
|
||||
injecting into namespace std and no C++ "C" compatibility
|
||||
includes.
|
||||
|
||||
2007-03-04 Benjamin Kosnik <bkoz@redhat.com>
|
||||
|
||||
* include/bits/c++config: Add _GLIBCXX_NAMEPACE_C.
|
||||
Add _GLIBCXX_NAMESPACE_ASSOCIATION_CXX200x.
|
||||
Add _GLIBCXX_TR1 as namespace macro.
|
||||
Add namespace associations for std::__cxx200x conditionally.
|
||||
|
||||
* include/c_compatibility/assert.h: Correct doxygen markup,
|
||||
conditionalize the global injections on _GLIBCXX_NAMESPACE_C.
|
||||
* include/c_compatibility/ctype.h: Same.
|
||||
* include/c_compatibility/errno.h: Same.
|
||||
* include/c_compatibility/float.h: Same.
|
||||
* include/c_compatibility/iso646.h: Same.
|
||||
* include/c_compatibility/limits.h: Same.
|
||||
* include/c_compatibility/locale.h: Same.
|
||||
* include/c_compatibility/math.h: Same.
|
||||
* include/c_compatibility/setjmp.h: Same.
|
||||
* include/c_compatibility/signal.h: Same.
|
||||
* include/c_compatibility/stdarg.h: Same.
|
||||
* include/c_compatibility/stddef.h: Same.
|
||||
* include/c_compatibility/stdio.h: Same.
|
||||
* include/c_compatibility/stdlib.h: Same.
|
||||
* include/c_compatibility/string.h: Same.
|
||||
* include/c_compatibility/time.h: Same.
|
||||
* include/c_compatibility/wchar.h: Same.
|
||||
* include/c_compatibility/wctype.h: Same.
|
||||
|
||||
* include/c_compatibility/complex.h: Add.
|
||||
* include/c_compatibility/fenv.h: Same.
|
||||
* include/c_compatibility/inttypes.h: Same.
|
||||
* include/c_compatibility/stdbool.h: Same.
|
||||
* include/c_compatibility/stdint.h: Same.
|
||||
* include/c_compatibility/tgmath.h: Same.
|
||||
|
||||
* include/c_global/cassert: Add, use include_next, use C++0x features
|
||||
if -std=c++0x.
|
||||
* include/c_global/cctype: Same.
|
||||
* include/c_global/cerrno: Same.
|
||||
* include/c_global/cfloat: Same.
|
||||
* include/c_global/ciso646: Same.
|
||||
* include/c_global/climits: Same.
|
||||
* include/c_global/clocale: Same.
|
||||
* include/c_global/cmath: Same.
|
||||
* include/c_global/cmath.tcc: Same.
|
||||
* include/c_global/csetjmp: Same.
|
||||
* include/c_global/csignal: Same.
|
||||
* include/c_global/cstdarg: Same.
|
||||
* include/c_global/cstddef: Same.
|
||||
* include/c_global/cstdio: Same.
|
||||
* include/c_global/cstdlib: Same.
|
||||
* include/c_global/cstring: Same.
|
||||
* include/c_global/ctime: Same.
|
||||
* include/c_global/cwchar: Same.
|
||||
* include/c_global/cwctype: Same.
|
||||
|
||||
* include/c_global/ccomplex: Add.
|
||||
* include/c_global/cfenv: Add.
|
||||
* include/c_global/cinttypes: Add.
|
||||
* include/c_global/cstdbool: Add.
|
||||
* include/c_global/cstdint: Add.
|
||||
* include/c_global/ctgmath: Add.
|
||||
|
||||
* include/std/algorithm: Use C++0x features if -std=c++0x.
|
||||
* include/std/bitset: Same.
|
||||
* include/std/complex: Same.
|
||||
* include/std/deque: Same.
|
||||
* include/std/fstream: Same.
|
||||
* include/std/functional: Same.
|
||||
* include/std/iomanip: Same.
|
||||
* include/std/ios: Same.
|
||||
* include/std/iosfwd: Same.
|
||||
* include/std/iostream: Same.
|
||||
* include/std/istream: Same.
|
||||
* include/std/iterator: Same.
|
||||
* include/std/limits: Same.
|
||||
* include/std/list: Same.
|
||||
* include/std/locale: Same.
|
||||
* include/std/map: Same.
|
||||
* include/std/memory: Same.
|
||||
* include/std/numeric: Same.
|
||||
* include/std/ostream: Same.
|
||||
* include/std/queue: Same.
|
||||
* include/std/set: Same.
|
||||
* include/std/sstream: Same.
|
||||
* include/std/stack: Same.
|
||||
* include/std/stdexcept: Same.
|
||||
* include/std/streambuf: Same.
|
||||
* include/std/string: Same.
|
||||
* include/std/utility: Same.
|
||||
* include/std/valarray: Same.
|
||||
* include/std/vector: Same.
|
||||
|
||||
* include/std/array: Add.
|
||||
* include/std/random: Add.
|
||||
* include/std/regex: Add.
|
||||
* include/std/tuple: Add.
|
||||
* include/std/type_traits: Add.
|
||||
* include/std/unordered_map: Add.
|
||||
* include/std/unordered_set: Add.
|
||||
* include/std/c++0x_warning.h: Add.
|
||||
|
||||
* include/tr1/array: Switch namespaces based on _GLIBCXX_TR1.
|
||||
* include/tr1/boost_shared_ptr.h: Same.
|
||||
* include/tr1/cctype: Same.
|
||||
* include/tr1/cfenv: Same.
|
||||
* include/tr1/cinttypes: Same.
|
||||
* include/tr1/cmath: Same.
|
||||
* include/tr1/common.h: Same.
|
||||
* include/tr1/complex: Same.
|
||||
* include/tr1/cstdint: Same.
|
||||
* include/tr1/cstdio: Same.
|
||||
* include/tr1/cstdlib: Same.
|
||||
* include/tr1/cwchar: Same.
|
||||
* include/tr1/cwctype: Same.
|
||||
* include/tr1/functional: Same.
|
||||
* include/tr1/functional_hash.h: Same.
|
||||
* include/tr1/functional_iterate.h: Same.
|
||||
* include/tr1/hashtable: Same.
|
||||
* include/tr1/hashtable_policy.h: Same.
|
||||
* include/tr1/math.h: Same.
|
||||
* include/tr1/memory: Same.
|
||||
* include/tr1/random: Same.
|
||||
* include/tr1/random.tcc: Same.
|
||||
* include/tr1/ref_fwd.h: Same.
|
||||
* include/tr1/repeat.h: Same.
|
||||
* include/tr1/stdlib.h: Same.
|
||||
* include/tr1/tuple: Same.
|
||||
* include/tr1/tuple_iterate.h: Same.
|
||||
* include/tr1/type_traits: Same.
|
||||
* include/tr1/type_traits_fwd.h: Same.
|
||||
* include/tr1/unordered_map: Same.
|
||||
* include/tr1/unordered_set: Same.
|
||||
* include/tr1/utility: Same.
|
||||
|
||||
* include/tr1/ccomplex: Add.
|
||||
* include/tr1/complex.h: Add.
|
||||
* include/tr1/regex: Add.
|
||||
|
||||
* include/Makefile.am: Add C++0x headers, "C" compatibility headers.
|
||||
* include/Makefile.in: Regenerate.
|
||||
|
||||
* testsuite/tr1/headers.cc: Add in regex/complex.
|
||||
|
||||
* testsuite/17_intro/headers/c++200x/all.cc: New.
|
||||
* testsuite/17_intro/headers/c++200x/all_multiple_inclusion.cc: Same.
|
||||
* testsuite/17_intro/using_namespace_std_tr1_neg.cc: Same.
|
||||
* testsuite/18_support/headers/cstdbool/std_c++0x_neg.cc: Same.
|
||||
* testsuite/18_support/headers/cstdint/std_c++0x_neg.cc: Same.
|
||||
* testsuite/18_support/headers/cstdint/types_std_c++0x.cc: Same.
|
||||
* testsuite/20_util/enable_shared_from_this/requirements/
|
||||
explicit_instantiation.cc: Same.
|
||||
* testsuite/20_util/headers/functional/types_std_c++0x.cc: Same.
|
||||
* testsuite/20_util/headers/functional/
|
||||
using_namespace_std_placeholders.cc: Same.
|
||||
* testsuite/20_util/headers/memory/types_std_c++0x.cc: Same.
|
||||
* testsuite/20_util/headers/type_traits/std_c++0x_neg.cc: Same.
|
||||
* testsuite/20_util/headers/type_traits/types_std_c++0x.cc: Same.
|
||||
* testsuite/20_util/shared_ptr/requirements/
|
||||
explicit_instantiation.cc: Same.
|
||||
* testsuite/20_util/weak_ptr/requirements/
|
||||
explicit_instantiation.cc: Same.
|
||||
* testsuite/23_containers/array/requirements/
|
||||
explicit_instantiation.cc: Same.
|
||||
* testsuite/23_containers/hash/requirements/
|
||||
explicit_instantiation.cc: Same.
|
||||
* testsuite/23_containers/headers/array/std_c++0x_neg.cc: Same.
|
||||
* testsuite/23_containers/headers/tuple/std_c++0x_neg.cc: Same.
|
||||
* testsuite/23_containers/headers/tuple/types_std_c++0x.cc: Same.
|
||||
* testsuite/23_containers/headers/unordered_map/std_c++0x_neg.cc: Same.
|
||||
* testsuite/23_containers/headers/unordered_set/std_c++0x_neg.cc: Same.
|
||||
* testsuite/23_containers/tuple/requirements/
|
||||
explicit_instantiation.cc: Same.
|
||||
* testsuite/23_containers/unordered_map/requirements/
|
||||
explicit_instantiation.cc: Same.
|
||||
* testsuite/23_containers/unordered_multimap/requirements/
|
||||
explicit_instantiation.cc: Same.
|
||||
* testsuite/23_containers/unordered_multiset/requirements/
|
||||
explicit_instantiation.cc: Same.
|
||||
* testsuite/23_containers/unordered_set/requirements/
|
||||
explicit_instantiation.cc: Same.
|
||||
* testsuite/26_numerics/headers/ccomplex/std_c++0x_neg.cc: Same.
|
||||
* testsuite/26_numerics/headers/cfenv/std_c++0x_neg.cc: Same.
|
||||
* testsuite/26_numerics/headers/cfenv/types_std_c++0x.cc: Same.
|
||||
* testsuite/26_numerics/headers/cmath/types_std_c++0x.cc: Same.
|
||||
* testsuite/26_numerics/headers/cstdlib/types_std_c++0x.cc: Same.
|
||||
* testsuite/26_numerics/headers/ctgmath/std_c++0x_neg.cc: Same.
|
||||
* testsuite/26_numerics/headers/random/std_c++0x_neg.cc: Same.
|
||||
* testsuite/26_numerics/headers/random/types_std_c++0x.cc: Same.
|
||||
* testsuite/27_io/headers/cinttypes/std_c++0x_neg.cc: Same.
|
||||
* testsuite/27_io/headers/cinttypes/types_std_c++0x.cc: Same.
|
||||
* testsuite/28_regex/headers/regex/std_c++0x_neg.cc: Same.
|
||||
|
||||
* testsuite/tr1/8_c_compatibility/cfenv/types.cc: Rename ...
|
||||
* testsuite/tr1/8_c_compatibility/cinttypes/types.cc: Same.
|
||||
* testsuite/tr1/8_c_compatibility/cmath/types.cc: Same.
|
||||
* testsuite/tr1/8_c_compatibility/cstdint/types.cc: Same.
|
||||
* testsuite/tr1/8_c_compatibility/cstdlib/types.cc: Same.
|
||||
* testsuite/tr1/8_c_compatibility/cfenv/types_std_tr1.cc: ...to this.
|
||||
* testsuite/tr1/8_c_compatibility/cinttypes/types_std_tr1.cc: Same.
|
||||
* testsuite/tr1/8_c_compatibility/cmath/types_std_tr1.cc: Same.
|
||||
* testsuite/tr1/8_c_compatibility/cstdint/types_std_tr1.cc: Same.
|
||||
* testsuite/tr1/8_c_compatibility/cstdlib/types_std_tr1.cc: Same.
|
||||
|
||||
2007-03-03 Paolo Carlini <pcarlini@suse.de>
|
||||
|
||||
PR libstdc++/31031
|
||||
|
@ -156,9 +156,13 @@ GLIBCXX_BUILD_PCH_TRUE = @GLIBCXX_BUILD_PCH_TRUE@
|
||||
GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE = @GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE@
|
||||
GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE = @GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE@
|
||||
GLIBCXX_C_HEADERS_C_FALSE = @GLIBCXX_C_HEADERS_C_FALSE@
|
||||
GLIBCXX_C_HEADERS_C_GLOBAL_FALSE = @GLIBCXX_C_HEADERS_C_GLOBAL_FALSE@
|
||||
GLIBCXX_C_HEADERS_C_GLOBAL_TRUE = @GLIBCXX_C_HEADERS_C_GLOBAL_TRUE@
|
||||
GLIBCXX_C_HEADERS_C_STD_FALSE = @GLIBCXX_C_HEADERS_C_STD_FALSE@
|
||||
GLIBCXX_C_HEADERS_C_STD_TRUE = @GLIBCXX_C_HEADERS_C_STD_TRUE@
|
||||
GLIBCXX_C_HEADERS_C_TRUE = @GLIBCXX_C_HEADERS_C_TRUE@
|
||||
GLIBCXX_C_HEADERS_EXTRA_FALSE = @GLIBCXX_C_HEADERS_EXTRA_FALSE@
|
||||
GLIBCXX_C_HEADERS_EXTRA_TRUE = @GLIBCXX_C_HEADERS_EXTRA_TRUE@
|
||||
GLIBCXX_HOSTED_FALSE = @GLIBCXX_HOSTED_FALSE@
|
||||
GLIBCXX_HOSTED_TRUE = @GLIBCXX_HOSTED_TRUE@
|
||||
GLIBCXX_INCLUDES = @GLIBCXX_INCLUDES@
|
||||
|
@ -1264,19 +1264,30 @@ dnl
|
||||
dnl --enable-cheaders= [does stuff].
|
||||
dnl --disable-cheaders [does not do anything, really].
|
||||
dnl + Usage: GLIBCXX_ENABLE_CHEADERS[(DEFAULT)]
|
||||
dnl Where DEFAULT is either `c' or `c_std'.
|
||||
dnl Where DEFAULT is either 'c' or 'c_std' or 'c_global'.
|
||||
dnl
|
||||
AC_DEFUN([GLIBCXX_ENABLE_CHEADERS], [
|
||||
GLIBCXX_ENABLE(cheaders,$1,[=KIND],
|
||||
[construct "C" headers for g++], [permit c|c_std])
|
||||
[construct "C" headers for g++], [permit c|c_std|c_global])
|
||||
AC_MSG_NOTICE("C" header strategy set to $enable_cheaders)
|
||||
|
||||
C_INCLUDE_DIR='${glibcxx_srcdir}/include/'$enable_cheaders
|
||||
|
||||
# Allow overrides to configure.host here.
|
||||
if test $enable_cheaders = c_global; then
|
||||
c_compatibility=yes
|
||||
fi
|
||||
|
||||
if test $enable_cheaders = c_global || test $enable_cheaders = c_std; then
|
||||
c_extra=yes
|
||||
fi
|
||||
|
||||
AC_SUBST(C_INCLUDE_DIR)
|
||||
GLIBCXX_CONDITIONAL(GLIBCXX_C_HEADERS_C, test $enable_cheaders = c)
|
||||
GLIBCXX_CONDITIONAL(GLIBCXX_C_HEADERS_C_STD, test $enable_cheaders = c_std)
|
||||
GLIBCXX_CONDITIONAL(GLIBCXX_C_HEADERS_C_GLOBAL, test $enable_cheaders = c_global)
|
||||
GLIBCXX_CONDITIONAL(GLIBCXX_C_HEADERS_COMPATIBILITY, test $c_compatibility = yes)
|
||||
GLIBCXX_CONDITIONAL(GLIBCXX_C_HEADERS_EXTRA, test $c_extra = yes)
|
||||
])
|
||||
|
||||
|
||||
|
57
libstdc++-v3/configure
vendored
57
libstdc++-v3/configure
vendored
@ -309,7 +309,7 @@ ac_includes_default="\
|
||||
# include <unistd.h>
|
||||
#endif"
|
||||
|
||||
ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS libtool_VERSION multi_basedir build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM mkdir_p AWK SET_MAKE am__leading_dot AMTAR am__tar am__untar glibcxx_builddir glibcxx_srcdir toplevel_srcdir CC ac_ct_CC EXEEXT OBJEXT CXX ac_ct_CXX CFLAGS CXXFLAGS LN_S AS ac_ct_AS AR ac_ct_AR RANLIB ac_ct_RANLIB MAINTAINER_MODE_TRUE MAINTAINER_MODE_FALSE MAINT CPP CPPFLAGS EGREP LIBTOOL CXXCPP enable_shared enable_static GLIBCXX_HOSTED_TRUE GLIBCXX_HOSTED_FALSE GLIBCXX_BUILD_PCH_TRUE GLIBCXX_BUILD_PCH_FALSE glibcxx_PCHFLAGS CSTDIO_H BASIC_FILE_H BASIC_FILE_CC check_msgfmt glibcxx_MOFILES glibcxx_POFILES glibcxx_localedir USE_NLS CLOCALE_H CMESSAGES_H CCODECVT_CC CCOLLATE_CC CCTYPE_CC CMESSAGES_CC CMONEY_CC CNUMERIC_CC CTIME_H CTIME_CC CLOCALE_CC CLOCALE_INTERNAL_H ALLOCATOR_H ALLOCATOR_NAME C_INCLUDE_DIR GLIBCXX_C_HEADERS_C_TRUE GLIBCXX_C_HEADERS_C_FALSE GLIBCXX_C_HEADERS_C_STD_TRUE GLIBCXX_C_HEADERS_C_STD_FALSE GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE DEBUG_FLAGS GLIBCXX_BUILD_DEBUG_TRUE GLIBCXX_BUILD_DEBUG_FALSE EXTRA_CXX_FLAGS glibcxx_thread_h WERROR SECTION_FLAGS SECTION_LDFLAGS OPT_LDFLAGS LIBMATHOBJS LIBICONV LTLIBICONV SYMVER_FILE port_specific_symbol_files ENABLE_SYMVERS_TRUE ENABLE_SYMVERS_FALSE ENABLE_SYMVERS_GNU_TRUE ENABLE_SYMVERS_GNU_FALSE ENABLE_SYMVERS_GNU_NAMESPACE_TRUE ENABLE_SYMVERS_GNU_NAMESPACE_FALSE ENABLE_SYMVERS_DARWIN_TRUE ENABLE_SYMVERS_DARWIN_FALSE ENABLE_VISIBILITY_TRUE ENABLE_VISIBILITY_FALSE GLIBCXX_LDBL_COMPAT_TRUE GLIBCXX_LDBL_COMPAT_FALSE baseline_dir ATOMICITY_SRCDIR ATOMIC_WORD_SRCDIR CPU_DEFINES_SRCDIR ABI_TWEAKS_SRCDIR OS_INC_SRCDIR glibcxx_prefixdir gxx_include_dir glibcxx_toolexecdir glibcxx_toolexeclibdir GLIBCXX_INCLUDES TOPLEVEL_INCLUDES OPTIMIZE_CXXFLAGS WARN_FLAGS LIBSUPCXX_PICFLAGS LIBOBJS LTLIBOBJS'
|
||||
ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS libtool_VERSION multi_basedir build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM mkdir_p AWK SET_MAKE am__leading_dot AMTAR am__tar am__untar glibcxx_builddir glibcxx_srcdir toplevel_srcdir CC ac_ct_CC EXEEXT OBJEXT CXX ac_ct_CXX CFLAGS CXXFLAGS LN_S AS ac_ct_AS AR ac_ct_AR RANLIB ac_ct_RANLIB MAINTAINER_MODE_TRUE MAINTAINER_MODE_FALSE MAINT CPP CPPFLAGS EGREP LIBTOOL CXXCPP enable_shared enable_static GLIBCXX_HOSTED_TRUE GLIBCXX_HOSTED_FALSE GLIBCXX_BUILD_PCH_TRUE GLIBCXX_BUILD_PCH_FALSE glibcxx_PCHFLAGS CSTDIO_H BASIC_FILE_H BASIC_FILE_CC check_msgfmt glibcxx_MOFILES glibcxx_POFILES glibcxx_localedir USE_NLS CLOCALE_H CMESSAGES_H CCODECVT_CC CCOLLATE_CC CCTYPE_CC CMESSAGES_CC CMONEY_CC CNUMERIC_CC CTIME_H CTIME_CC CLOCALE_CC CLOCALE_INTERNAL_H ALLOCATOR_H ALLOCATOR_NAME C_INCLUDE_DIR GLIBCXX_C_HEADERS_C_TRUE GLIBCXX_C_HEADERS_C_FALSE GLIBCXX_C_HEADERS_C_STD_TRUE GLIBCXX_C_HEADERS_C_STD_FALSE GLIBCXX_C_HEADERS_C_GLOBAL_TRUE GLIBCXX_C_HEADERS_C_GLOBAL_FALSE GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE GLIBCXX_C_HEADERS_EXTRA_TRUE GLIBCXX_C_HEADERS_EXTRA_FALSE DEBUG_FLAGS GLIBCXX_BUILD_DEBUG_TRUE GLIBCXX_BUILD_DEBUG_FALSE EXTRA_CXX_FLAGS glibcxx_thread_h WERROR SECTION_FLAGS SECTION_LDFLAGS OPT_LDFLAGS LIBMATHOBJS LIBICONV LTLIBICONV SYMVER_FILE port_specific_symbol_files ENABLE_SYMVERS_TRUE ENABLE_SYMVERS_FALSE ENABLE_SYMVERS_GNU_TRUE ENABLE_SYMVERS_GNU_FALSE ENABLE_SYMVERS_GNU_NAMESPACE_TRUE ENABLE_SYMVERS_GNU_NAMESPACE_FALSE ENABLE_SYMVERS_DARWIN_TRUE ENABLE_SYMVERS_DARWIN_FALSE ENABLE_VISIBILITY_TRUE ENABLE_VISIBILITY_FALSE GLIBCXX_LDBL_COMPAT_TRUE GLIBCXX_LDBL_COMPAT_FALSE baseline_dir ATOMICITY_SRCDIR ATOMIC_WORD_SRCDIR CPU_DEFINES_SRCDIR ABI_TWEAKS_SRCDIR OS_INC_SRCDIR glibcxx_prefixdir gxx_include_dir glibcxx_toolexecdir glibcxx_toolexeclibdir GLIBCXX_INCLUDES TOPLEVEL_INCLUDES OPTIMIZE_CXXFLAGS WARN_FLAGS LIBSUPCXX_PICFLAGS LIBOBJS LTLIBOBJS'
|
||||
ac_subst_files=''
|
||||
|
||||
# Initialize some variables set by options.
|
||||
@ -6432,7 +6432,7 @@ if test "${enable_cheaders+set}" = set; then
|
||||
enableval="$enable_cheaders"
|
||||
|
||||
case "$enableval" in
|
||||
c|c_std) ;;
|
||||
c|c_std|c_global) ;;
|
||||
*) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable cheaders" >&5
|
||||
echo "$as_me: error: Unknown argument to enable/disable cheaders" >&2;}
|
||||
{ (exit 1); exit 1; }; } ;;
|
||||
@ -6447,6 +6447,17 @@ echo "$as_me: \"C\" header strategy set to $enable_cheaders" >&6;}
|
||||
|
||||
C_INCLUDE_DIR='${glibcxx_srcdir}/include/'$enable_cheaders
|
||||
|
||||
# Allow overrides to configure.host here.
|
||||
if test $enable_cheaders = c_global; then
|
||||
c_compatibility=yes
|
||||
fi
|
||||
|
||||
if test $enable_cheaders = c_global || test $enable_cheaders = c_std; then
|
||||
c_extra=yes
|
||||
fi
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
@ -8018,7 +8029,7 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
|
||||
|
||||
# Fake what AC_TRY_COMPILE does. XXX Look at redoing this new-style.
|
||||
cat > conftest.$ac_ext << EOF
|
||||
#line 8021 "configure"
|
||||
#line 8032 "configure"
|
||||
int main()
|
||||
{
|
||||
// NB: _Atomic_word not necessarily int.
|
||||
@ -84604,6 +84615,17 @@ fi
|
||||
|
||||
|
||||
|
||||
if test $enable_cheaders = c_global; then
|
||||
GLIBCXX_C_HEADERS_C_GLOBAL_TRUE=
|
||||
GLIBCXX_C_HEADERS_C_GLOBAL_FALSE='#'
|
||||
else
|
||||
GLIBCXX_C_HEADERS_C_GLOBAL_TRUE='#'
|
||||
GLIBCXX_C_HEADERS_C_GLOBAL_FALSE=
|
||||
fi
|
||||
|
||||
|
||||
|
||||
|
||||
if test $c_compatibility = yes; then
|
||||
GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE=
|
||||
GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE='#'
|
||||
@ -84615,6 +84637,17 @@ fi
|
||||
|
||||
|
||||
|
||||
if test $c_extra = yes; then
|
||||
GLIBCXX_C_HEADERS_EXTRA_TRUE=
|
||||
GLIBCXX_C_HEADERS_EXTRA_FALSE='#'
|
||||
else
|
||||
GLIBCXX_C_HEADERS_EXTRA_TRUE='#'
|
||||
GLIBCXX_C_HEADERS_EXTRA_FALSE=
|
||||
fi
|
||||
|
||||
|
||||
|
||||
|
||||
if test $enable_libstdcxx_debug = yes; then
|
||||
GLIBCXX_BUILD_DEBUG_TRUE=
|
||||
GLIBCXX_BUILD_DEBUG_FALSE='#'
|
||||
@ -85025,6 +85058,13 @@ echo "$as_me: error: conditional \"GLIBCXX_C_HEADERS_C_STD\" was never defined.
|
||||
Usually this means the macro was only invoked conditionally." >&2;}
|
||||
{ (exit 1); exit 1; }; }
|
||||
fi
|
||||
if test -z "${GLIBCXX_C_HEADERS_C_GLOBAL_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_GLOBAL_FALSE}"; then
|
||||
{ { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_C_HEADERS_C_GLOBAL\" was never defined.
|
||||
Usually this means the macro was only invoked conditionally." >&5
|
||||
echo "$as_me: error: conditional \"GLIBCXX_C_HEADERS_C_GLOBAL\" was never defined.
|
||||
Usually this means the macro was only invoked conditionally." >&2;}
|
||||
{ (exit 1); exit 1; }; }
|
||||
fi
|
||||
if test -z "${GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE}" && test -z "${GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE}"; then
|
||||
{ { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_C_HEADERS_COMPATIBILITY\" was never defined.
|
||||
Usually this means the macro was only invoked conditionally." >&5
|
||||
@ -85032,6 +85072,13 @@ echo "$as_me: error: conditional \"GLIBCXX_C_HEADERS_COMPATIBILITY\" was never d
|
||||
Usually this means the macro was only invoked conditionally." >&2;}
|
||||
{ (exit 1); exit 1; }; }
|
||||
fi
|
||||
if test -z "${GLIBCXX_C_HEADERS_EXTRA_TRUE}" && test -z "${GLIBCXX_C_HEADERS_EXTRA_FALSE}"; then
|
||||
{ { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_C_HEADERS_EXTRA\" was never defined.
|
||||
Usually this means the macro was only invoked conditionally." >&5
|
||||
echo "$as_me: error: conditional \"GLIBCXX_C_HEADERS_EXTRA\" was never defined.
|
||||
Usually this means the macro was only invoked conditionally." >&2;}
|
||||
{ (exit 1); exit 1; }; }
|
||||
fi
|
||||
if test -z "${GLIBCXX_BUILD_DEBUG_TRUE}" && test -z "${GLIBCXX_BUILD_DEBUG_FALSE}"; then
|
||||
{ { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_BUILD_DEBUG\" was never defined.
|
||||
Usually this means the macro was only invoked conditionally." >&5
|
||||
@ -85732,8 +85779,12 @@ s,@GLIBCXX_C_HEADERS_C_TRUE@,$GLIBCXX_C_HEADERS_C_TRUE,;t t
|
||||
s,@GLIBCXX_C_HEADERS_C_FALSE@,$GLIBCXX_C_HEADERS_C_FALSE,;t t
|
||||
s,@GLIBCXX_C_HEADERS_C_STD_TRUE@,$GLIBCXX_C_HEADERS_C_STD_TRUE,;t t
|
||||
s,@GLIBCXX_C_HEADERS_C_STD_FALSE@,$GLIBCXX_C_HEADERS_C_STD_FALSE,;t t
|
||||
s,@GLIBCXX_C_HEADERS_C_GLOBAL_TRUE@,$GLIBCXX_C_HEADERS_C_GLOBAL_TRUE,;t t
|
||||
s,@GLIBCXX_C_HEADERS_C_GLOBAL_FALSE@,$GLIBCXX_C_HEADERS_C_GLOBAL_FALSE,;t t
|
||||
s,@GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE@,$GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE,;t t
|
||||
s,@GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE@,$GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE,;t t
|
||||
s,@GLIBCXX_C_HEADERS_EXTRA_TRUE@,$GLIBCXX_C_HEADERS_EXTRA_TRUE,;t t
|
||||
s,@GLIBCXX_C_HEADERS_EXTRA_FALSE@,$GLIBCXX_C_HEADERS_EXTRA_FALSE,;t t
|
||||
s,@DEBUG_FLAGS@,$DEBUG_FLAGS,;t t
|
||||
s,@GLIBCXX_BUILD_DEBUG_TRUE@,$GLIBCXX_BUILD_DEBUG_TRUE,;t t
|
||||
s,@GLIBCXX_BUILD_DEBUG_FALSE@,$GLIBCXX_BUILD_DEBUG_FALSE,;t t
|
||||
|
@ -64,7 +64,7 @@
|
||||
# Try to guess a default cpu_include_dir based on the name of the CPU. We
|
||||
# cannot do this for os_include_dir; there are too many portable operating
|
||||
# systems out there. :-)
|
||||
c_model=c_std
|
||||
c_model=c_global
|
||||
c_compatibility=no
|
||||
atomic_word_dir=cpu/generic
|
||||
atomicity_dir="cpu/generic"
|
||||
|
@ -143,9 +143,11 @@ options</a></h1>
|
||||
</dd>
|
||||
|
||||
<dt><code>--enable-cheaders=OPTION </code></dt>
|
||||
<dd><p>This allows the user to define what kind of C headers are
|
||||
used. Options are c and c_std. These correspond to the source
|
||||
directory's include/c and include/c_std. The default is c_std.
|
||||
<dd><p>This allows the user to define the approach taken for C header
|
||||
compatibility with C++. Options are c, c_std, and c_global.
|
||||
These correspond to the source directory's include/c,
|
||||
include/c_std, and include/c_global, and may also include
|
||||
include/c_compatibility. The default is c_global.
|
||||
</p>
|
||||
</dd>
|
||||
|
||||
|
@ -29,7 +29,9 @@ std_srcdir = ${glibcxx_srcdir}/include/std
|
||||
std_builddir = .
|
||||
std_headers = \
|
||||
${std_srcdir}/algorithm \
|
||||
${std_srcdir}/array \
|
||||
${std_srcdir}/bitset \
|
||||
${std_srcdir}/c++0x_warning.h \
|
||||
${std_srcdir}/complex \
|
||||
${std_srcdir}/deque \
|
||||
${std_srcdir}/fstream \
|
||||
@ -48,12 +50,18 @@ std_headers = \
|
||||
${std_srcdir}/numeric \
|
||||
${std_srcdir}/ostream \
|
||||
${std_srcdir}/queue \
|
||||
${std_srcdir}/random \
|
||||
${std_srcdir}/regex \
|
||||
${std_srcdir}/set \
|
||||
${std_srcdir}/sstream \
|
||||
${std_srcdir}/stack \
|
||||
${std_srcdir}/stdexcept \
|
||||
${std_srcdir}/streambuf \
|
||||
${std_srcdir}/string \
|
||||
${std_srcdir}/tuple \
|
||||
${std_srcdir}/type_traits \
|
||||
${std_srcdir}/unordered_map \
|
||||
${std_srcdir}/unordered_set \
|
||||
${std_srcdir}/utility \
|
||||
${std_srcdir}/valarray \
|
||||
${std_srcdir}/vector
|
||||
@ -164,7 +172,6 @@ backward_headers = \
|
||||
${backward_srcdir}/strstream \
|
||||
${backward_srcdir}/backward_warning.h
|
||||
|
||||
|
||||
pb_srcdir = ${glibcxx_srcdir}/include/ext/pb_ds
|
||||
pb_builddir = ./ext/pb_ds
|
||||
|
||||
@ -528,6 +535,7 @@ tr1_headers = \
|
||||
${tr1_srcdir}/bind_repeat.h \
|
||||
${tr1_srcdir}/bind_iterate.h \
|
||||
${tr1_srcdir}/boost_shared_ptr.h \
|
||||
${tr1_srcdir}/ccomplex \
|
||||
${tr1_srcdir}/cctype \
|
||||
${tr1_srcdir}/cfenv \
|
||||
${tr1_srcdir}/cfloat \
|
||||
@ -536,6 +544,7 @@ tr1_headers = \
|
||||
${tr1_srcdir}/cmath \
|
||||
${tr1_srcdir}/common.h \
|
||||
${tr1_srcdir}/complex \
|
||||
${tr1_srcdir}/complex.h \
|
||||
${tr1_srcdir}/cstdarg \
|
||||
${tr1_srcdir}/cstdbool \
|
||||
${tr1_srcdir}/cstdint \
|
||||
@ -562,6 +571,7 @@ tr1_headers = \
|
||||
${tr1_srcdir}/random.tcc \
|
||||
${tr1_srcdir}/ref_fwd.h \
|
||||
${tr1_srcdir}/ref_wrap_iterate.h \
|
||||
${tr1_srcdir}/regex \
|
||||
${tr1_srcdir}/repeat.h \
|
||||
${tr1_srcdir}/stdarg.h \
|
||||
${tr1_srcdir}/stdbool.h \
|
||||
@ -581,14 +591,17 @@ tr1_headers = \
|
||||
${tr1_srcdir}/wctype.h
|
||||
|
||||
|
||||
# This is the common subset of files that all three "C" header models use.
|
||||
# This is the common subset of C++ files that all three "C" header models use.
|
||||
c_base_srcdir = $(C_INCLUDE_DIR)
|
||||
c_base_builddir = .
|
||||
c_base_headers = \
|
||||
${c_base_srcdir}/cassert \
|
||||
${c_base_srcdir}/ccomplex \
|
||||
${c_base_srcdir}/cctype \
|
||||
${c_base_srcdir}/cerrno \
|
||||
${c_base_srcdir}/cfenv \
|
||||
${c_base_srcdir}/cfloat \
|
||||
${c_base_srcdir}/cinttypes \
|
||||
${c_base_srcdir}/ciso646 \
|
||||
${c_base_srcdir}/climits \
|
||||
${c_base_srcdir}/clocale \
|
||||
@ -596,10 +609,13 @@ c_base_headers = \
|
||||
${c_base_srcdir}/csetjmp \
|
||||
${c_base_srcdir}/csignal \
|
||||
${c_base_srcdir}/cstdarg \
|
||||
${c_base_srcdir}/cstdbool \
|
||||
${c_base_srcdir}/cstddef \
|
||||
${c_base_srcdir}/cstdint \
|
||||
${c_base_srcdir}/cstdio \
|
||||
${c_base_srcdir}/cstdlib \
|
||||
${c_base_srcdir}/cstring \
|
||||
${c_base_srcdir}/ctgmath \
|
||||
${c_base_srcdir}/ctime \
|
||||
${c_base_srcdir}/cwchar \
|
||||
${c_base_srcdir}/cwctype
|
||||
@ -607,11 +623,26 @@ c_base_headers = \
|
||||
# "C" compatibility headers.
|
||||
c_compatibility_srcdir = ${glibcxx_srcdir}/include/c_compatibility
|
||||
c_compatibility_builddir = .
|
||||
|
||||
if GLIBCXX_C_HEADERS_C_STD
|
||||
c_compatibility_headers =
|
||||
endif
|
||||
|
||||
if GLIBCXX_C_HEADERS_C_GLOBAL
|
||||
c_compatibility_headers = \
|
||||
${c_compatibility_srcdir}/complex.h \
|
||||
${c_compatibility_srcdir}/tgmath.h
|
||||
endif
|
||||
|
||||
if GLIBCXX_C_HEADERS_C
|
||||
c_compatibility_headers = \
|
||||
${c_compatibility_srcdir}/assert.h \
|
||||
${c_compatibility_srcdir}/complex.h \
|
||||
${c_compatibility_srcdir}/ctype.h \
|
||||
${c_compatibility_srcdir}/errno.h \
|
||||
${c_compatibility_srcdir}/fenv.h \
|
||||
${c_compatibility_srcdir}/float.h \
|
||||
${c_compatibility_srcdir}/inttypes.h \
|
||||
${c_compatibility_srcdir}/iso646.h \
|
||||
${c_compatibility_srcdir}/limits.h \
|
||||
${c_compatibility_srcdir}/locale.h \
|
||||
@ -619,13 +650,17 @@ c_compatibility_headers = \
|
||||
${c_compatibility_srcdir}/setjmp.h \
|
||||
${c_compatibility_srcdir}/signal.h \
|
||||
${c_compatibility_srcdir}/stdarg.h \
|
||||
${c_compatibility_srcdir}/stdbool.h \
|
||||
${c_compatibility_srcdir}/stddef.h \
|
||||
${c_compatibility_srcdir}/stdint.h \
|
||||
${c_compatibility_srcdir}/stdio.h \
|
||||
${c_compatibility_srcdir}/stdlib.h \
|
||||
${c_compatibility_srcdir}/string.h \
|
||||
${c_compatibility_srcdir}/tgmath.h \
|
||||
${c_compatibility_srcdir}/time.h \
|
||||
${c_compatibility_srcdir}/wchar.h \
|
||||
${c_compatibility_srcdir}/wctype.h
|
||||
endif
|
||||
|
||||
# Debug mode headers
|
||||
debug_srcdir = ${glibcxx_srcdir}/include/debug
|
||||
@ -660,7 +695,7 @@ debug_headers = \
|
||||
# Some of the different "C" header models need extra files.
|
||||
# Some "C" header schemes require the "C" compatibility headers.
|
||||
# For --enable-cheaders=c_std
|
||||
if GLIBCXX_C_HEADERS_C_STD
|
||||
if GLIBCXX_C_HEADERS_EXTRA
|
||||
c_base_headers_extra = ${c_base_srcdir}/cmath.tcc
|
||||
else
|
||||
c_base_headers_extra =
|
||||
@ -962,7 +997,7 @@ ${host_builddir}/c++config.h: ${CONFIG_HEADER} \
|
||||
-e '/[ ]_GLIBCXX_LONG_DOUBLE_COMPAT[ ]/d' \
|
||||
< ${CONFIG_HEADER} >> $@ ;\
|
||||
echo "" >> $@ ;\
|
||||
echo "#endif // _CXXCONFIG_" >> $@
|
||||
echo "#endif // _GLIBCXX_CXX_CONFIG_H" >> $@
|
||||
|
||||
# Host includes for threads
|
||||
uppercase = [ABCDEFGHIJKLMNOPQRSTUVWXYZ_]
|
||||
|
@ -124,9 +124,13 @@ GLIBCXX_BUILD_PCH_TRUE = @GLIBCXX_BUILD_PCH_TRUE@
|
||||
GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE = @GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE@
|
||||
GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE = @GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE@
|
||||
GLIBCXX_C_HEADERS_C_FALSE = @GLIBCXX_C_HEADERS_C_FALSE@
|
||||
GLIBCXX_C_HEADERS_C_GLOBAL_FALSE = @GLIBCXX_C_HEADERS_C_GLOBAL_FALSE@
|
||||
GLIBCXX_C_HEADERS_C_GLOBAL_TRUE = @GLIBCXX_C_HEADERS_C_GLOBAL_TRUE@
|
||||
GLIBCXX_C_HEADERS_C_STD_FALSE = @GLIBCXX_C_HEADERS_C_STD_FALSE@
|
||||
GLIBCXX_C_HEADERS_C_STD_TRUE = @GLIBCXX_C_HEADERS_C_STD_TRUE@
|
||||
GLIBCXX_C_HEADERS_C_TRUE = @GLIBCXX_C_HEADERS_C_TRUE@
|
||||
GLIBCXX_C_HEADERS_EXTRA_FALSE = @GLIBCXX_C_HEADERS_EXTRA_FALSE@
|
||||
GLIBCXX_C_HEADERS_EXTRA_TRUE = @GLIBCXX_C_HEADERS_EXTRA_TRUE@
|
||||
GLIBCXX_HOSTED_FALSE = @GLIBCXX_HOSTED_FALSE@
|
||||
GLIBCXX_HOSTED_TRUE = @GLIBCXX_HOSTED_TRUE@
|
||||
GLIBCXX_INCLUDES = @GLIBCXX_INCLUDES@
|
||||
@ -259,7 +263,9 @@ std_srcdir = ${glibcxx_srcdir}/include/std
|
||||
std_builddir = .
|
||||
std_headers = \
|
||||
${std_srcdir}/algorithm \
|
||||
${std_srcdir}/array \
|
||||
${std_srcdir}/bitset \
|
||||
${std_srcdir}/c++0x_warning.h \
|
||||
${std_srcdir}/complex \
|
||||
${std_srcdir}/deque \
|
||||
${std_srcdir}/fstream \
|
||||
@ -278,12 +284,18 @@ std_headers = \
|
||||
${std_srcdir}/numeric \
|
||||
${std_srcdir}/ostream \
|
||||
${std_srcdir}/queue \
|
||||
${std_srcdir}/random \
|
||||
${std_srcdir}/regex \
|
||||
${std_srcdir}/set \
|
||||
${std_srcdir}/sstream \
|
||||
${std_srcdir}/stack \
|
||||
${std_srcdir}/stdexcept \
|
||||
${std_srcdir}/streambuf \
|
||||
${std_srcdir}/string \
|
||||
${std_srcdir}/tuple \
|
||||
${std_srcdir}/type_traits \
|
||||
${std_srcdir}/unordered_map \
|
||||
${std_srcdir}/unordered_set \
|
||||
${std_srcdir}/utility \
|
||||
${std_srcdir}/valarray \
|
||||
${std_srcdir}/vector
|
||||
@ -753,6 +765,7 @@ tr1_headers = \
|
||||
${tr1_srcdir}/bind_repeat.h \
|
||||
${tr1_srcdir}/bind_iterate.h \
|
||||
${tr1_srcdir}/boost_shared_ptr.h \
|
||||
${tr1_srcdir}/ccomplex \
|
||||
${tr1_srcdir}/cctype \
|
||||
${tr1_srcdir}/cfenv \
|
||||
${tr1_srcdir}/cfloat \
|
||||
@ -761,6 +774,7 @@ tr1_headers = \
|
||||
${tr1_srcdir}/cmath \
|
||||
${tr1_srcdir}/common.h \
|
||||
${tr1_srcdir}/complex \
|
||||
${tr1_srcdir}/complex.h \
|
||||
${tr1_srcdir}/cstdarg \
|
||||
${tr1_srcdir}/cstdbool \
|
||||
${tr1_srcdir}/cstdint \
|
||||
@ -787,6 +801,7 @@ tr1_headers = \
|
||||
${tr1_srcdir}/random.tcc \
|
||||
${tr1_srcdir}/ref_fwd.h \
|
||||
${tr1_srcdir}/ref_wrap_iterate.h \
|
||||
${tr1_srcdir}/regex \
|
||||
${tr1_srcdir}/repeat.h \
|
||||
${tr1_srcdir}/stdarg.h \
|
||||
${tr1_srcdir}/stdbool.h \
|
||||
@ -806,14 +821,17 @@ tr1_headers = \
|
||||
${tr1_srcdir}/wctype.h
|
||||
|
||||
|
||||
# This is the common subset of files that all three "C" header models use.
|
||||
# This is the common subset of C++ files that all three "C" header models use.
|
||||
c_base_srcdir = $(C_INCLUDE_DIR)
|
||||
c_base_builddir = .
|
||||
c_base_headers = \
|
||||
${c_base_srcdir}/cassert \
|
||||
${c_base_srcdir}/ccomplex \
|
||||
${c_base_srcdir}/cctype \
|
||||
${c_base_srcdir}/cerrno \
|
||||
${c_base_srcdir}/cfenv \
|
||||
${c_base_srcdir}/cfloat \
|
||||
${c_base_srcdir}/cinttypes \
|
||||
${c_base_srcdir}/ciso646 \
|
||||
${c_base_srcdir}/climits \
|
||||
${c_base_srcdir}/clocale \
|
||||
@ -821,10 +839,13 @@ c_base_headers = \
|
||||
${c_base_srcdir}/csetjmp \
|
||||
${c_base_srcdir}/csignal \
|
||||
${c_base_srcdir}/cstdarg \
|
||||
${c_base_srcdir}/cstdbool \
|
||||
${c_base_srcdir}/cstddef \
|
||||
${c_base_srcdir}/cstdint \
|
||||
${c_base_srcdir}/cstdio \
|
||||
${c_base_srcdir}/cstdlib \
|
||||
${c_base_srcdir}/cstring \
|
||||
${c_base_srcdir}/ctgmath \
|
||||
${c_base_srcdir}/ctime \
|
||||
${c_base_srcdir}/cwchar \
|
||||
${c_base_srcdir}/cwctype
|
||||
@ -833,25 +854,36 @@ c_base_headers = \
|
||||
# "C" compatibility headers.
|
||||
c_compatibility_srcdir = ${glibcxx_srcdir}/include/c_compatibility
|
||||
c_compatibility_builddir = .
|
||||
c_compatibility_headers = \
|
||||
${c_compatibility_srcdir}/assert.h \
|
||||
${c_compatibility_srcdir}/ctype.h \
|
||||
${c_compatibility_srcdir}/errno.h \
|
||||
${c_compatibility_srcdir}/float.h \
|
||||
${c_compatibility_srcdir}/iso646.h \
|
||||
${c_compatibility_srcdir}/limits.h \
|
||||
${c_compatibility_srcdir}/locale.h \
|
||||
${c_compatibility_srcdir}/math.h \
|
||||
${c_compatibility_srcdir}/setjmp.h \
|
||||
${c_compatibility_srcdir}/signal.h \
|
||||
${c_compatibility_srcdir}/stdarg.h \
|
||||
${c_compatibility_srcdir}/stddef.h \
|
||||
${c_compatibility_srcdir}/stdio.h \
|
||||
${c_compatibility_srcdir}/stdlib.h \
|
||||
${c_compatibility_srcdir}/string.h \
|
||||
${c_compatibility_srcdir}/time.h \
|
||||
${c_compatibility_srcdir}/wchar.h \
|
||||
${c_compatibility_srcdir}/wctype.h
|
||||
@GLIBCXX_C_HEADERS_C_GLOBAL_TRUE@c_compatibility_headers = \
|
||||
@GLIBCXX_C_HEADERS_C_GLOBAL_TRUE@ ${c_compatibility_srcdir}/complex.h \
|
||||
@GLIBCXX_C_HEADERS_C_GLOBAL_TRUE@ ${c_compatibility_srcdir}/tgmath.h
|
||||
|
||||
@GLIBCXX_C_HEADERS_C_STD_TRUE@c_compatibility_headers =
|
||||
@GLIBCXX_C_HEADERS_C_TRUE@c_compatibility_headers = \
|
||||
@GLIBCXX_C_HEADERS_C_TRUE@ ${c_compatibility_srcdir}/assert.h \
|
||||
@GLIBCXX_C_HEADERS_C_TRUE@ ${c_compatibility_srcdir}/complex.h \
|
||||
@GLIBCXX_C_HEADERS_C_TRUE@ ${c_compatibility_srcdir}/ctype.h \
|
||||
@GLIBCXX_C_HEADERS_C_TRUE@ ${c_compatibility_srcdir}/errno.h \
|
||||
@GLIBCXX_C_HEADERS_C_TRUE@ ${c_compatibility_srcdir}/fenv.h \
|
||||
@GLIBCXX_C_HEADERS_C_TRUE@ ${c_compatibility_srcdir}/float.h \
|
||||
@GLIBCXX_C_HEADERS_C_TRUE@ ${c_compatibility_srcdir}/inttypes.h \
|
||||
@GLIBCXX_C_HEADERS_C_TRUE@ ${c_compatibility_srcdir}/iso646.h \
|
||||
@GLIBCXX_C_HEADERS_C_TRUE@ ${c_compatibility_srcdir}/limits.h \
|
||||
@GLIBCXX_C_HEADERS_C_TRUE@ ${c_compatibility_srcdir}/locale.h \
|
||||
@GLIBCXX_C_HEADERS_C_TRUE@ ${c_compatibility_srcdir}/math.h \
|
||||
@GLIBCXX_C_HEADERS_C_TRUE@ ${c_compatibility_srcdir}/setjmp.h \
|
||||
@GLIBCXX_C_HEADERS_C_TRUE@ ${c_compatibility_srcdir}/signal.h \
|
||||
@GLIBCXX_C_HEADERS_C_TRUE@ ${c_compatibility_srcdir}/stdarg.h \
|
||||
@GLIBCXX_C_HEADERS_C_TRUE@ ${c_compatibility_srcdir}/stdbool.h \
|
||||
@GLIBCXX_C_HEADERS_C_TRUE@ ${c_compatibility_srcdir}/stddef.h \
|
||||
@GLIBCXX_C_HEADERS_C_TRUE@ ${c_compatibility_srcdir}/stdint.h \
|
||||
@GLIBCXX_C_HEADERS_C_TRUE@ ${c_compatibility_srcdir}/stdio.h \
|
||||
@GLIBCXX_C_HEADERS_C_TRUE@ ${c_compatibility_srcdir}/stdlib.h \
|
||||
@GLIBCXX_C_HEADERS_C_TRUE@ ${c_compatibility_srcdir}/string.h \
|
||||
@GLIBCXX_C_HEADERS_C_TRUE@ ${c_compatibility_srcdir}/tgmath.h \
|
||||
@GLIBCXX_C_HEADERS_C_TRUE@ ${c_compatibility_srcdir}/time.h \
|
||||
@GLIBCXX_C_HEADERS_C_TRUE@ ${c_compatibility_srcdir}/wchar.h \
|
||||
@GLIBCXX_C_HEADERS_C_TRUE@ ${c_compatibility_srcdir}/wctype.h
|
||||
|
||||
|
||||
# Debug mode headers
|
||||
@ -884,12 +916,12 @@ debug_headers = \
|
||||
${debug_srcdir}/string \
|
||||
${debug_srcdir}/vector
|
||||
|
||||
@GLIBCXX_C_HEADERS_C_STD_FALSE@c_base_headers_extra =
|
||||
@GLIBCXX_C_HEADERS_EXTRA_FALSE@c_base_headers_extra =
|
||||
|
||||
# Some of the different "C" header models need extra files.
|
||||
# Some "C" header schemes require the "C" compatibility headers.
|
||||
# For --enable-cheaders=c_std
|
||||
@GLIBCXX_C_HEADERS_C_STD_TRUE@c_base_headers_extra = ${c_base_srcdir}/cmath.tcc
|
||||
@GLIBCXX_C_HEADERS_EXTRA_TRUE@c_base_headers_extra = ${c_base_srcdir}/cmath.tcc
|
||||
@GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE@c_compatibility_headers_extra =
|
||||
@GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE@c_compatibility_headers_extra = ${c_compatibility_headers}
|
||||
host_srcdir = ${glibcxx_srcdir}/$(OS_INC_SRCDIR)
|
||||
@ -1342,7 +1374,7 @@ ${host_builddir}/c++config.h: ${CONFIG_HEADER} \
|
||||
-e '/[ ]_GLIBCXX_LONG_DOUBLE_COMPAT[ ]/d' \
|
||||
< ${CONFIG_HEADER} >> $@ ;\
|
||||
echo "" >> $@ ;\
|
||||
echo "#endif // _CXXCONFIG_" >> $@
|
||||
echo "#endif // _GLIBCXX_CXX_CONFIG_H" >> $@
|
||||
|
||||
${host_builddir}/gthr.h: ${toplevel_srcdir}/gcc/gthr.h stamp-${host_alias}
|
||||
sed -e '/^#pragma/b' \
|
||||
|
@ -45,20 +45,36 @@
|
||||
// The current version of the C++ library in compressed ISO date format.
|
||||
#define __GLIBCXX__
|
||||
|
||||
// Macro used to indicate that the native "C" includes, when compiled
|
||||
// as "C++", have declarations in namespace std and not the global
|
||||
// namespace. Note, this is unrelated to possible "C" compatibility
|
||||
// includes that inject C90/C99 names into the global namespace.
|
||||
// XXX May not be necessary
|
||||
#if __cplusplus == 199711L
|
||||
# define _GLIBCXX_NAMESPACE_C 1
|
||||
#endif
|
||||
|
||||
// Macros for visibility.
|
||||
#define _GLIBCXX_HAVE_ATTRIBUTE_VISIBILITY
|
||||
|
||||
#if _GLIBCXX_HAVE_ATTRIBUTE_VISIBILITY
|
||||
#define _GLIBCXX_VISIBILITY(V) __attribute__ ((__visibility__ (#V)))
|
||||
# define _GLIBCXX_VISIBILITY(V) __attribute__ ((__visibility__ (#V)))
|
||||
#else
|
||||
#define _GLIBCXX_VISIBILITY(V)
|
||||
# define _GLIBCXX_VISIBILITY(V)
|
||||
#endif
|
||||
|
||||
// Macros for controlling various namespace association schemes and modes.
|
||||
// _GLIBCXX_NAMESPACE_ASSOCIATION_DEBUG
|
||||
// _GLIBCXX_NAMESPACE_ASSOCIATION_VERSION
|
||||
// _GLIBCXX_NAMESPACE_ASSOCIATION_CXX200x
|
||||
#ifdef _GLIBCXX_DEBUG
|
||||
# define _GLIBCXX_NAMESPACE_ASSOCIATION_DEBUG 1
|
||||
#endif
|
||||
|
||||
#ifdef __GXX_EXPERIMENTAL_CXX0X__
|
||||
# define _GLIBCXX_NAMESPACE_ASSOCIATION_CXX0X 1
|
||||
#endif
|
||||
|
||||
#define _GLIBCXX_NAMESPACE_ASSOCIATION_VERSION
|
||||
|
||||
// Macros for namespace scope.
|
||||
@ -91,7 +107,6 @@ namespace std
|
||||
using namespace _6 __attribute__ ((strong));
|
||||
}
|
||||
|
||||
// In addition, other supported namespace configurations.
|
||||
namespace __gnu_cxx
|
||||
{
|
||||
namespace _6 { }
|
||||
@ -140,7 +155,19 @@ namespace __gnu_cxx
|
||||
#endif
|
||||
#endif
|
||||
|
||||
/* Define if compatibility should be provided for -mlong-double-64. */
|
||||
// Namespace associations for C++0x, TR1 in std.
|
||||
#if _GLIBCXX_NAMESPACE_ASSOCIATION_CXX0X
|
||||
namespace std
|
||||
{
|
||||
namespace __cxx200x { }
|
||||
using namespace __cxx200x __attribute__ ((strong));
|
||||
}
|
||||
# define _GLIBCXX_TR1 __cxx200x
|
||||
#else
|
||||
# define _GLIBCXX_TR1 tr1
|
||||
#endif
|
||||
|
||||
// Define if compatibility should be provided for -mlong-double-64.
|
||||
#undef _GLIBCXX_LONG_DOUBLE_COMPAT
|
||||
|
||||
// XXX GLIBCXX_ABI Deprecated
|
||||
|
@ -1,6 +1,6 @@
|
||||
// -*- C++ -*- compatibility header.
|
||||
|
||||
// Copyright (C) 2002 Free Software Foundation, Inc.
|
||||
// Copyright (C) 2002, 2007 Free Software Foundation, Inc.
|
||||
//
|
||||
// This file is part of the GNU ISO C++ Library. This library is free
|
||||
// software; you can redistribute it and/or modify it under the
|
||||
@ -13,10 +13,10 @@
|
||||
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
// GNU General Public License for more details.
|
||||
|
||||
// You should have received a copy of the GNU General Public License along
|
||||
// with this library; see the file COPYING. If not, write to the Free
|
||||
// Software Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301,
|
||||
// USA.
|
||||
// You should have received a copy of the GNU General Public License
|
||||
// along with this library; see the file COPYING. If not, write to
|
||||
// the Free Software Foundation, 51 Franklin Street, Fifth Floor,
|
||||
// Boston, MA 02110-1301, USA.
|
||||
|
||||
// As a special exception, you may use this file as part of a free software
|
||||
// library without restriction. Specifically, if other files instantiate
|
||||
@ -27,4 +27,8 @@
|
||||
// invalidate any other reasons why the executable file might be covered by
|
||||
// the GNU General Public License.
|
||||
|
||||
/** @file assert.h
|
||||
* This is a Standard C++ Library header.
|
||||
*/
|
||||
|
||||
#include <cassert>
|
||||
|
39
libstdc++-v3/include/c_compatibility/complex.h
Normal file
39
libstdc++-v3/include/c_compatibility/complex.h
Normal file
@ -0,0 +1,39 @@
|
||||
// -*- C++ -*- compatibility header.
|
||||
|
||||
// Copyright (C) 2007 Free Software Foundation, Inc.
|
||||
//
|
||||
// This file is part of the GNU ISO C++ Library. This library is free
|
||||
// software; you can redistribute it and/or modify it under the
|
||||
// terms of the GNU General Public License as published by the
|
||||
// Free Software Foundation; either version 2, or (at your option)
|
||||
// any later version.
|
||||
|
||||
// This library is distributed in the hope that it will be useful,
|
||||
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
// GNU General Public License for more details.
|
||||
|
||||
// You should have received a copy of the GNU General Public License
|
||||
// along with this library; see the file COPYING. If not, write to
|
||||
// the Free Software Foundation, 51 Franklin Street, Fifth Floor,
|
||||
// Boston, MA 02110-1301, USA.
|
||||
|
||||
// As a special exception, you may use this file as part of a free software
|
||||
// library without restriction. Specifically, if other files instantiate
|
||||
// templates or use macros or inline functions from this file, or you compile
|
||||
// this file and link it with other files to produce an executable, this
|
||||
// file does not by itself cause the resulting executable to be covered by
|
||||
// the GNU General Public License. This exception does not however
|
||||
// invalidate any other reasons why the executable file might be covered by
|
||||
// the GNU General Public License.
|
||||
|
||||
/** @file complex.h
|
||||
* This is a Standard C++ Library header.
|
||||
*/
|
||||
|
||||
#include <ccomplex>
|
||||
|
||||
#ifndef _GLIBCXX_COMPLEX_H
|
||||
#define _GLIBCXX_COMPLEX_H 1
|
||||
|
||||
#endif
|
@ -1,6 +1,6 @@
|
||||
// -*- C++ -*- compatibility header.
|
||||
|
||||
// Copyright (C) 2002 Free Software Foundation, Inc.
|
||||
// Copyright (C) 2002, 2007 Free Software Foundation, Inc.
|
||||
//
|
||||
// This file is part of the GNU ISO C++ Library. This library is free
|
||||
// software; you can redistribute it and/or modify it under the
|
||||
@ -13,10 +13,10 @@
|
||||
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
// GNU General Public License for more details.
|
||||
|
||||
// You should have received a copy of the GNU General Public License along
|
||||
// with this library; see the file COPYING. If not, write to the Free
|
||||
// Software Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301,
|
||||
// USA.
|
||||
// You should have received a copy of the GNU General Public License
|
||||
// along with this library; see the file COPYING. If not, write to
|
||||
// the Free Software Foundation, 51 Franklin Street, Fifth Floor,
|
||||
// Boston, MA 02110-1301, USA.
|
||||
|
||||
// As a special exception, you may use this file as part of a free software
|
||||
// library without restriction. Specifically, if other files instantiate
|
||||
@ -27,11 +27,16 @@
|
||||
// invalidate any other reasons why the executable file might be covered by
|
||||
// the GNU General Public License.
|
||||
|
||||
#ifndef _GLIBCXX_CTYPE_H
|
||||
#define _GLIBCXX_CTYPE_H 1
|
||||
/** @file ctype.h
|
||||
* This is a Standard C++ Library header.
|
||||
*/
|
||||
|
||||
#include <cctype>
|
||||
|
||||
#ifndef _GLIBCXX_CTYPE_H
|
||||
#define _GLIBCXX_CTYPE_H 1
|
||||
|
||||
#ifdef _GLIBCXX_NAMESPACE_C
|
||||
using std::isalnum;
|
||||
using std::isalpha;
|
||||
using std::iscntrl;
|
||||
@ -45,5 +50,6 @@ using std::isupper;
|
||||
using std::isxdigit;
|
||||
using std::tolower;
|
||||
using std::toupper;
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
@ -1,6 +1,6 @@
|
||||
// -*- C++ -*- compatibility header.
|
||||
|
||||
// Copyright (C) 2002 Free Software Foundation, Inc.
|
||||
// Copyright (C) 2002, 2007 Free Software Foundation, Inc.
|
||||
//
|
||||
// This file is part of the GNU ISO C++ Library. This library is free
|
||||
// software; you can redistribute it and/or modify it under the
|
||||
@ -13,10 +13,10 @@
|
||||
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
// GNU General Public License for more details.
|
||||
|
||||
// You should have received a copy of the GNU General Public License along
|
||||
// with this library; see the file COPYING. If not, write to the Free
|
||||
// Software Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301,
|
||||
// USA.
|
||||
// You should have received a copy of the GNU General Public License
|
||||
// along with this library; see the file COPYING. If not, write to
|
||||
// the Free Software Foundation, 51 Franklin Street, Fifth Floor,
|
||||
// Boston, MA 02110-1301, USA.
|
||||
|
||||
// As a special exception, you may use this file as part of a free software
|
||||
// library without restriction. Specifically, if other files instantiate
|
||||
@ -27,9 +27,13 @@
|
||||
// invalidate any other reasons why the executable file might be covered by
|
||||
// the GNU General Public License.
|
||||
|
||||
#ifndef _GLIBCXX_ERRNO_H
|
||||
#define _GLIBCXX_ERRNO_H 1
|
||||
/** @file errno.h
|
||||
* This is a Standard C++ Library header.
|
||||
*/
|
||||
|
||||
#include <cerrno>
|
||||
|
||||
#ifndef _GLIBCXX_ERRNO_H
|
||||
#define _GLIBCXX_ERRNO_H 1
|
||||
|
||||
#endif
|
||||
|
39
libstdc++-v3/include/c_compatibility/fenv.h
Normal file
39
libstdc++-v3/include/c_compatibility/fenv.h
Normal file
@ -0,0 +1,39 @@
|
||||
// -*- C++ -*- compatibility header.
|
||||
|
||||
// Copyright (C) 2007 Free Software Foundation, Inc.
|
||||
//
|
||||
// This file is part of the GNU ISO C++ Library. This library is free
|
||||
// software; you can redistribute it and/or modify it under the
|
||||
// terms of the GNU General Public License as published by the
|
||||
// Free Software Foundation; either version 2, or (at your option)
|
||||
// any later version.
|
||||
|
||||
// This library is distributed in the hope that it will be useful,
|
||||
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
// GNU General Public License for more details.
|
||||
|
||||
// You should have received a copy of the GNU General Public License
|
||||
// along with this library; see the file COPYING. If not, write to
|
||||
// the Free Software Foundation, 51 Franklin Street, Fifth Floor,
|
||||
// Boston, MA 02110-1301, USA.
|
||||
|
||||
// As a special exception, you may use this file as part of a free software
|
||||
// library without restriction. Specifically, if other files instantiate
|
||||
// templates or use macros or inline functions from this file, or you compile
|
||||
// this file and link it with other files to produce an executable, this
|
||||
// file does not by itself cause the resulting executable to be covered by
|
||||
// the GNU General Public License. This exception does not however
|
||||
// invalidate any other reasons why the executable file might be covered by
|
||||
// the GNU General Public License.
|
||||
|
||||
/** @file fenv.h
|
||||
* This is a Standard C++ Library header.
|
||||
*/
|
||||
|
||||
#include <cfenv>
|
||||
|
||||
#ifndef _GLIBCXX_FENV_H
|
||||
#define _GLIBCXX_FENV_H 1
|
||||
|
||||
#endif
|
@ -1,6 +1,6 @@
|
||||
// -*- C++ -*- compatibility header.
|
||||
|
||||
// Copyright (C) 2002 Free Software Foundation, Inc.
|
||||
// Copyright (C) 2002, 2007 Free Software Foundation, Inc.
|
||||
//
|
||||
// This file is part of the GNU ISO C++ Library. This library is free
|
||||
// software; you can redistribute it and/or modify it under the
|
||||
@ -13,10 +13,10 @@
|
||||
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
// GNU General Public License for more details.
|
||||
|
||||
// You should have received a copy of the GNU General Public License along
|
||||
// with this library; see the file COPYING. If not, write to the Free
|
||||
// Software Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301,
|
||||
// USA.
|
||||
// You should have received a copy of the GNU General Public License
|
||||
// along with this library; see the file COPYING. If not, write to
|
||||
// the Free Software Foundation, 51 Franklin Street, Fifth Floor,
|
||||
// Boston, MA 02110-1301, USA.
|
||||
|
||||
// As a special exception, you may use this file as part of a free software
|
||||
// library without restriction. Specifically, if other files instantiate
|
||||
@ -27,9 +27,13 @@
|
||||
// invalidate any other reasons why the executable file might be covered by
|
||||
// the GNU General Public License.
|
||||
|
||||
#ifndef _GLIBCXX_FLOAT_H
|
||||
#define _GLIBCXX_FLOAT_H 1
|
||||
/** @file float.h
|
||||
* This is a Standard C++ Library header.
|
||||
*/
|
||||
|
||||
#include <cfloat>
|
||||
|
||||
#ifndef _GLIBCXX_FLOAT_H
|
||||
#define _GLIBCXX_FLOAT_H 1
|
||||
|
||||
#endif
|
||||
|
39
libstdc++-v3/include/c_compatibility/inttypes.h
Normal file
39
libstdc++-v3/include/c_compatibility/inttypes.h
Normal file
@ -0,0 +1,39 @@
|
||||
// -*- C++ -*- compatibility header.
|
||||
|
||||
// Copyright (C) 2007 Free Software Foundation, Inc.
|
||||
//
|
||||
// This file is part of the GNU ISO C++ Library. This library is free
|
||||
// software; you can redistribute it and/or modify it under the
|
||||
// terms of the GNU General Public License as published by the
|
||||
// Free Software Foundation; either version 2, or (at your option)
|
||||
// any later version.
|
||||
|
||||
// This library is distributed in the hope that it will be useful,
|
||||
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
// GNU General Public License for more details.
|
||||
|
||||
// You should have received a copy of the GNU General Public License
|
||||
// along with this library; see the file COPYING. If not, write to
|
||||
// the Free Software Foundation, 51 Franklin Street, Fifth Floor,
|
||||
// Boston, MA 02110-1301, USA.
|
||||
|
||||
// As a special exception, you may use this file as part of a free software
|
||||
// library without restriction. Specifically, if other files instantiate
|
||||
// templates or use macros or inline functions from this file, or you compile
|
||||
// this file and link it with other files to produce an executable, this
|
||||
// file does not by itself cause the resulting executable to be covered by
|
||||
// the GNU General Public License. This exception does not however
|
||||
// invalidate any other reasons why the executable file might be covered by
|
||||
// the GNU General Public License.
|
||||
|
||||
/** @file inttypes.h
|
||||
* This is a Standard C++ Library header.
|
||||
*/
|
||||
|
||||
#include <cinttypes>
|
||||
|
||||
#ifndef _GLIBCXX_INTTYPES_H
|
||||
#define _GLIBCXX_INTTYPES_H 1
|
||||
|
||||
#endif
|
@ -1,6 +1,6 @@
|
||||
// -*- C++ -*- compatibility header.
|
||||
|
||||
// Copyright (C) 2002 Free Software Foundation, Inc.
|
||||
// Copyright (C) 2002, 2007 Free Software Foundation, Inc.
|
||||
//
|
||||
// This file is part of the GNU ISO C++ Library. This library is free
|
||||
// software; you can redistribute it and/or modify it under the
|
||||
@ -13,10 +13,10 @@
|
||||
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
// GNU General Public License for more details.
|
||||
|
||||
// You should have received a copy of the GNU General Public License along
|
||||
// with this library; see the file COPYING. If not, write to the Free
|
||||
// Software Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301,
|
||||
// USA.
|
||||
// You should have received a copy of the GNU General Public License
|
||||
// along with this library; see the file COPYING. If not, write to
|
||||
// the Free Software Foundation, 51 Franklin Street, Fifth Floor,
|
||||
// Boston, MA 02110-1301, USA.
|
||||
|
||||
// As a special exception, you may use this file as part of a free software
|
||||
// library without restriction. Specifically, if other files instantiate
|
||||
@ -27,9 +27,13 @@
|
||||
// invalidate any other reasons why the executable file might be covered by
|
||||
// the GNU General Public License.
|
||||
|
||||
#ifndef _GLIBCXX_ISO646_H
|
||||
#define _GLIBCXX_ISO646_H 1
|
||||
/** @file iso646.h
|
||||
* This is a Standard C++ Library header.
|
||||
*/
|
||||
|
||||
#include <ciso646>
|
||||
|
||||
#ifndef _GLIBCXX_ISO646_H
|
||||
#define _GLIBCXX_ISO646_H 1
|
||||
|
||||
#endif
|
||||
|
@ -1,6 +1,6 @@
|
||||
// -*- C++ -*- compatibility header.
|
||||
|
||||
// Copyright (C) 2002 Free Software Foundation, Inc.
|
||||
// Copyright (C) 2002, 2007 Free Software Foundation, Inc.
|
||||
//
|
||||
// This file is part of the GNU ISO C++ Library. This library is free
|
||||
// software; you can redistribute it and/or modify it under the
|
||||
@ -13,10 +13,10 @@
|
||||
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
// GNU General Public License for more details.
|
||||
|
||||
// You should have received a copy of the GNU General Public License along
|
||||
// with this library; see the file COPYING. If not, write to the Free
|
||||
// Software Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301,
|
||||
// USA.
|
||||
// You should have received a copy of the GNU General Public License
|
||||
// along with this library; see the file COPYING. If not, write to
|
||||
// the Free Software Foundation, 51 Franklin Street, Fifth Floor,
|
||||
// Boston, MA 02110-1301, USA.
|
||||
|
||||
// As a special exception, you may use this file as part of a free software
|
||||
// library without restriction. Specifically, if other files instantiate
|
||||
@ -27,9 +27,13 @@
|
||||
// invalidate any other reasons why the executable file might be covered by
|
||||
// the GNU General Public License.
|
||||
|
||||
#ifndef _GLIBCXX_LIMITS_H
|
||||
#define _GLIBCXX_LIMITS_H 1
|
||||
/** @file limits.h
|
||||
* This is a Standard C++ Library header.
|
||||
*/
|
||||
|
||||
#include <climits>
|
||||
|
||||
#ifndef _GLIBCXX_LIMITS_H
|
||||
#define _GLIBCXX_LIMITS_H 1
|
||||
|
||||
#endif
|
||||
|
@ -1,6 +1,6 @@
|
||||
// -*- C++ -*- compatibility header.
|
||||
|
||||
// Copyright (C) 2002 Free Software Foundation, Inc.
|
||||
// Copyright (C) 2002, 2007 Free Software Foundation, Inc.
|
||||
//
|
||||
// This file is part of the GNU ISO C++ Library. This library is free
|
||||
// software; you can redistribute it and/or modify it under the
|
||||
@ -13,10 +13,10 @@
|
||||
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
// GNU General Public License for more details.
|
||||
|
||||
// You should have received a copy of the GNU General Public License along
|
||||
// with this library; see the file COPYING. If not, write to the Free
|
||||
// Software Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301,
|
||||
// USA.
|
||||
// You should have received a copy of the GNU General Public License
|
||||
// along with this library; see the file COPYING. If not, write to
|
||||
// the Free Software Foundation, 51 Franklin Street, Fifth Floor,
|
||||
// Boston, MA 02110-1301, USA.
|
||||
|
||||
// As a special exception, you may use this file as part of a free software
|
||||
// library without restriction. Specifically, if other files instantiate
|
||||
@ -27,13 +27,19 @@
|
||||
// invalidate any other reasons why the executable file might be covered by
|
||||
// the GNU General Public License.
|
||||
|
||||
#ifndef _GLIBCXX_LOCALE_H
|
||||
#define _GLIBCXX_LOCALE_H 1
|
||||
/** @file locale.h
|
||||
* This is a Standard C++ Library header.
|
||||
*/
|
||||
|
||||
#include <clocale>
|
||||
|
||||
#ifndef _GLIBCXX_LOCALE_H
|
||||
#define _GLIBCXX_LOCALE_H 1
|
||||
|
||||
#ifdef _GLIBCXX_NAMESPACE_C
|
||||
using std::lconv;
|
||||
using std::setlocale;
|
||||
using std::localeconv;
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
@ -1,6 +1,6 @@
|
||||
// -*- C++ -*- compatibility header.
|
||||
|
||||
// Copyright (C) 2002 Free Software Foundation, Inc.
|
||||
// Copyright (C) 2002, 2007 Free Software Foundation, Inc.
|
||||
//
|
||||
// This file is part of the GNU ISO C++ Library. This library is free
|
||||
// software; you can redistribute it and/or modify it under the
|
||||
@ -13,10 +13,10 @@
|
||||
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
// GNU General Public License for more details.
|
||||
|
||||
// You should have received a copy of the GNU General Public License along
|
||||
// with this library; see the file COPYING. If not, write to the Free
|
||||
// Software Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301,
|
||||
// USA.
|
||||
// You should have received a copy of the GNU General Public License
|
||||
// along with this library; see the file COPYING. If not, write to
|
||||
// the Free Software Foundation, 51 Franklin Street, Fifth Floor,
|
||||
// Boston, MA 02110-1301, USA.
|
||||
|
||||
// As a special exception, you may use this file as part of a free software
|
||||
// library without restriction. Specifically, if other files instantiate
|
||||
@ -27,11 +27,16 @@
|
||||
// invalidate any other reasons why the executable file might be covered by
|
||||
// the GNU General Public License.
|
||||
|
||||
#ifndef _GLIBCXX_MATH_H
|
||||
#define _GLIBCXX_MATH_H 1
|
||||
/** @file math.h
|
||||
* This is a Standard C++ Library header.
|
||||
*/
|
||||
|
||||
#include <cmath>
|
||||
|
||||
#ifndef _GLIBCXX_MATH_H
|
||||
#define _GLIBCXX_MATH_H 1
|
||||
|
||||
#ifdef _GLIBCXX_NAMESPACE_C
|
||||
using std::abs;
|
||||
using std::acos;
|
||||
using std::asin;
|
||||
@ -71,4 +76,6 @@ using std::islessgreater;
|
||||
using std::isunordered;
|
||||
#endif
|
||||
|
||||
#endif // __GXX_EXPERIMENTAL_CXX0X__
|
||||
|
||||
#endif
|
||||
|
@ -1,6 +1,6 @@
|
||||
// -*- C++ -*- compatibility header.
|
||||
|
||||
// Copyright (C) 2002 Free Software Foundation, Inc.
|
||||
// Copyright (C) 2002, 2007 Free Software Foundation, Inc.
|
||||
//
|
||||
// This file is part of the GNU ISO C++ Library. This library is free
|
||||
// software; you can redistribute it and/or modify it under the
|
||||
@ -13,10 +13,10 @@
|
||||
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
// GNU General Public License for more details.
|
||||
|
||||
// You should have received a copy of the GNU General Public License along
|
||||
// with this library; see the file COPYING. If not, write to the Free
|
||||
// Software Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301,
|
||||
// USA.
|
||||
// You should have received a copy of the GNU General Public License
|
||||
// along with this library; see the file COPYING. If not, write to
|
||||
// the Free Software Foundation, 51 Franklin Street, Fifth Floor,
|
||||
// Boston, MA 02110-1301, USA.
|
||||
|
||||
// As a special exception, you may use this file as part of a free software
|
||||
// library without restriction. Specifically, if other files instantiate
|
||||
@ -27,12 +27,18 @@
|
||||
// invalidate any other reasons why the executable file might be covered by
|
||||
// the GNU General Public License.
|
||||
|
||||
#ifndef _GLIBCXX_SETJMP_H
|
||||
#define _GLIBCXX_SETJMP_H 1
|
||||
/** @file setjmp.h
|
||||
* This is a Standard C++ Library header.
|
||||
*/
|
||||
|
||||
#include <csetjmp>
|
||||
|
||||
#ifndef _GLIBCXX_SETJMP_H
|
||||
#define _GLIBCXX_SETJMP_H 1
|
||||
|
||||
#ifdef _GLIBCXX_NAMESPACE_C
|
||||
using std::jmp_buf;
|
||||
using std::longjmp;
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
@ -1,6 +1,6 @@
|
||||
// -*- C++ -*- compatibility header.
|
||||
|
||||
// Copyright (C) 2002 Free Software Foundation, Inc.
|
||||
// Copyright (C) 2002, 2007 Free Software Foundation, Inc.
|
||||
//
|
||||
// This file is part of the GNU ISO C++ Library. This library is free
|
||||
// software; you can redistribute it and/or modify it under the
|
||||
@ -13,10 +13,10 @@
|
||||
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
// GNU General Public License for more details.
|
||||
|
||||
// You should have received a copy of the GNU General Public License along
|
||||
// with this library; see the file COPYING. If not, write to the Free
|
||||
// Software Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301,
|
||||
// USA.
|
||||
// You should have received a copy of the GNU General Public License
|
||||
// along with this library; see the file COPYING. If not, write to
|
||||
// the Free Software Foundation, 51 Franklin Street, Fifth Floor,
|
||||
// Boston, MA 02110-1301, USA.
|
||||
|
||||
// As a special exception, you may use this file as part of a free software
|
||||
// library without restriction. Specifically, if other files instantiate
|
||||
@ -27,14 +27,19 @@
|
||||
// invalidate any other reasons why the executable file might be covered by
|
||||
// the GNU General Public License.
|
||||
|
||||
#ifndef _GLIBCXX_SIGNAL_H
|
||||
#define _GLIBCXX_SIGNAL_H 1
|
||||
/** @file signal.h
|
||||
* This is a Standard C++ Library header.
|
||||
*/
|
||||
|
||||
#include <csignal>
|
||||
|
||||
using std::sig_atomic_t;
|
||||
#ifndef _GLIBCXX_SIGNAL_H
|
||||
#define _GLIBCXX_SIGNAL_H 1
|
||||
|
||||
#ifdef _GLIBCXX_NAMESPACE_C
|
||||
using std::sig_atomic_t;
|
||||
using std::raise;
|
||||
using std::signal;
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
@ -1,6 +1,6 @@
|
||||
// -*- C++ -*- compatibility header.
|
||||
|
||||
// Copyright (C) 2002 Free Software Foundation, Inc.
|
||||
// Copyright (C) 2002, 2007 Free Software Foundation, Inc.
|
||||
//
|
||||
// This file is part of the GNU ISO C++ Library. This library is free
|
||||
// software; you can redistribute it and/or modify it under the
|
||||
@ -13,10 +13,10 @@
|
||||
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
// GNU General Public License for more details.
|
||||
|
||||
// You should have received a copy of the GNU General Public License along
|
||||
// with this library; see the file COPYING. If not, write to the Free
|
||||
// Software Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301,
|
||||
// USA.
|
||||
// You should have received a copy of the GNU General Public License
|
||||
// along with this library; see the file COPYING. If not, write to
|
||||
// the Free Software Foundation, 51 Franklin Street, Fifth Floor,
|
||||
// Boston, MA 02110-1301, USA.
|
||||
|
||||
// As a special exception, you may use this file as part of a free software
|
||||
// library without restriction. Specifically, if other files instantiate
|
||||
@ -27,11 +27,17 @@
|
||||
// invalidate any other reasons why the executable file might be covered by
|
||||
// the GNU General Public License.
|
||||
|
||||
#ifndef _GLIBCXX_STDARG_H
|
||||
#define _GLIBCXX_STDARG_H 1
|
||||
/** @file stdarg.h
|
||||
* This is a Standard C++ Library header.
|
||||
*/
|
||||
|
||||
#include <cstdarg>
|
||||
|
||||
#ifndef _GLIBCXX_STDARG_H
|
||||
#define _GLIBCXX_STDARG_H 1
|
||||
|
||||
#ifdef _GLIBCXX_NAMESPACE_C
|
||||
using std::va_list;
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
39
libstdc++-v3/include/c_compatibility/stdbool.h
Normal file
39
libstdc++-v3/include/c_compatibility/stdbool.h
Normal file
@ -0,0 +1,39 @@
|
||||
// -*- C++ -*- compatibility header.
|
||||
|
||||
// Copyright (C) 2007 Free Software Foundation, Inc.
|
||||
//
|
||||
// This file is part of the GNU ISO C++ Library. This library is free
|
||||
// software; you can redistribute it and/or modify it under the
|
||||
// terms of the GNU General Public License as published by the
|
||||
// Free Software Foundation; either version 2, or (at your option)
|
||||
// any later version.
|
||||
|
||||
// This library is distributed in the hope that it will be useful,
|
||||
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
// GNU General Public License for more details.
|
||||
|
||||
// You should have received a copy of the GNU General Public License
|
||||
// along with this library; see the file COPYING. If not, write to
|
||||
// the Free Software Foundation, 51 Franklin Street, Fifth Floor,
|
||||
// Boston, MA 02110-1301, USA.
|
||||
|
||||
// As a special exception, you may use this file as part of a free software
|
||||
// library without restriction. Specifically, if other files instantiate
|
||||
// templates or use macros or inline functions from this file, or you compile
|
||||
// this file and link it with other files to produce an executable, this
|
||||
// file does not by itself cause the resulting executable to be covered by
|
||||
// the GNU General Public License. This exception does not however
|
||||
// invalidate any other reasons why the executable file might be covered by
|
||||
// the GNU General Public License.
|
||||
|
||||
/** @file stdbool.h
|
||||
* This is a Standard C++ Library header.
|
||||
*/
|
||||
|
||||
#include <cstdbool>
|
||||
|
||||
#ifndef _GLIBCXX_STDBOOL_H
|
||||
#define _GLIBCXX_STDBOOL_H 1
|
||||
|
||||
#endif
|
@ -1,6 +1,6 @@
|
||||
// -*- C++ -*- compatibility header.
|
||||
|
||||
// Copyright (C) 2002 Free Software Foundation, Inc.
|
||||
// Copyright (C) 2002, 2007 Free Software Foundation, Inc.
|
||||
//
|
||||
// This file is part of the GNU ISO C++ Library. This library is free
|
||||
// software; you can redistribute it and/or modify it under the
|
||||
@ -13,10 +13,10 @@
|
||||
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
// GNU General Public License for more details.
|
||||
|
||||
// You should have received a copy of the GNU General Public License along
|
||||
// with this library; see the file COPYING. If not, write to the Free
|
||||
// Software Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301,
|
||||
// USA.
|
||||
// You should have received a copy of the GNU General Public License
|
||||
// along with this library; see the file COPYING. If not, write to
|
||||
// the Free Software Foundation, 51 Franklin Street, Fifth Floor,
|
||||
// Boston, MA 02110-1301, USA.
|
||||
|
||||
// As a special exception, you may use this file as part of a free software
|
||||
// library without restriction. Specifically, if other files instantiate
|
||||
@ -27,12 +27,18 @@
|
||||
// invalidate any other reasons why the executable file might be covered by
|
||||
// the GNU General Public License.
|
||||
|
||||
#ifndef _GLIBCXX_STDDEF_H
|
||||
#define _GLIBCXX_STDDEF_H 1
|
||||
/** @file stddef.h
|
||||
* This is a Standard C++ Library header.
|
||||
*/
|
||||
|
||||
#include <cstddef>
|
||||
|
||||
#ifndef _GLIBCXX_STDDEF_H
|
||||
#define _GLIBCXX_STDDEF_H 1
|
||||
|
||||
#ifdef _GLIBCXX_NAMESPACE_C
|
||||
using std::size_t;
|
||||
using std::ptrdiff_t;
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
39
libstdc++-v3/include/c_compatibility/stdint.h
Normal file
39
libstdc++-v3/include/c_compatibility/stdint.h
Normal file
@ -0,0 +1,39 @@
|
||||
// -*- C++ -*- compatibility header.
|
||||
|
||||
// Copyright (C) 2007 Free Software Foundation, Inc.
|
||||
//
|
||||
// This file is part of the GNU ISO C++ Library. This library is free
|
||||
// software; you can redistribute it and/or modify it under the
|
||||
// terms of the GNU General Public License as published by the
|
||||
// Free Software Foundation; either version 2, or (at your option)
|
||||
// any later version.
|
||||
|
||||
// This library is distributed in the hope that it will be useful,
|
||||
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
// GNU General Public License for more details.
|
||||
|
||||
// You should have received a copy of the GNU General Public License
|
||||
// along with this library; see the file COPYING. If not, write to
|
||||
// the Free Software Foundation, 51 Franklin Street, Fifth Floor,
|
||||
// Boston, MA 02110-1301, USA.
|
||||
|
||||
// As a special exception, you may use this file as part of a free software
|
||||
// library without restriction. Specifically, if other files instantiate
|
||||
// templates or use macros or inline functions from this file, or you compile
|
||||
// this file and link it with other files to produce an executable, this
|
||||
// file does not by itself cause the resulting executable to be covered by
|
||||
// the GNU General Public License. This exception does not however
|
||||
// invalidate any other reasons why the executable file might be covered by
|
||||
// the GNU General Public License.
|
||||
|
||||
/** @file stdint.h
|
||||
* This is a Standard C++ Library header.
|
||||
*/
|
||||
|
||||
#include <cstdint>
|
||||
|
||||
#ifndef _GLIBCXX_STDINT_H
|
||||
#define _GLIBCXX_STDINT_H 1
|
||||
|
||||
#endif
|
@ -1,6 +1,6 @@
|
||||
// -*- C++ -*- compatibility header.
|
||||
|
||||
// Copyright (C) 2002 Free Software Foundation, Inc.
|
||||
// Copyright (C) 2002, 2007 Free Software Foundation, Inc.
|
||||
//
|
||||
// This file is part of the GNU ISO C++ Library. This library is free
|
||||
// software; you can redistribute it and/or modify it under the
|
||||
@ -13,10 +13,10 @@
|
||||
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
// GNU General Public License for more details.
|
||||
|
||||
// You should have received a copy of the GNU General Public License along
|
||||
// with this library; see the file COPYING. If not, write to the Free
|
||||
// Software Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301,
|
||||
// USA.
|
||||
// You should have received a copy of the GNU General Public License
|
||||
// along with this library; see the file COPYING. If not, write to
|
||||
// the Free Software Foundation, 51 Franklin Street, Fifth Floor,
|
||||
// Boston, MA 02110-1301, USA.
|
||||
|
||||
// As a special exception, you may use this file as part of a free software
|
||||
// library without restriction. Specifically, if other files instantiate
|
||||
@ -27,11 +27,16 @@
|
||||
// invalidate any other reasons why the executable file might be covered by
|
||||
// the GNU General Public License.
|
||||
|
||||
#ifndef _GLIBCXX_STDIO_H
|
||||
#define _GLIBCXX_STDIO_H 1
|
||||
/** @file stdio.h
|
||||
* This is a Standard C++ Library header.
|
||||
*/
|
||||
|
||||
#include <cstdio>
|
||||
|
||||
#ifndef _GLIBCXX_STDIO_H
|
||||
#define _GLIBCXX_STDIO_H 1
|
||||
|
||||
#ifdef _GLIBCXX_NAMESPACE_C
|
||||
using std::FILE;
|
||||
using std::fpos_t;
|
||||
|
||||
@ -81,5 +86,6 @@ using std::clearerr;
|
||||
using std::feof;
|
||||
using std::ferror;
|
||||
using std::perror;
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
@ -1,6 +1,6 @@
|
||||
// -*- C++ -*- compatibility header.
|
||||
|
||||
// Copyright (C) 2002 Free Software Foundation, Inc.
|
||||
// Copyright (C) 2002, 2007 Free Software Foundation, Inc.
|
||||
//
|
||||
// This file is part of the GNU ISO C++ Library. This library is free
|
||||
// software; you can redistribute it and/or modify it under the
|
||||
@ -13,10 +13,10 @@
|
||||
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
// GNU General Public License for more details.
|
||||
|
||||
// You should have received a copy of the GNU General Public License along
|
||||
// with this library; see the file COPYING. If not, write to the Free
|
||||
// Software Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301,
|
||||
// USA.
|
||||
// You should have received a copy of the GNU General Public License
|
||||
// along with this library; see the file COPYING. If not, write to
|
||||
// the Free Software Foundation, 51 Franklin Street, Fifth Floor,
|
||||
// Boston, MA 02110-1301, USA.
|
||||
|
||||
// As a special exception, you may use this file as part of a free software
|
||||
// library without restriction. Specifically, if other files instantiate
|
||||
@ -27,11 +27,16 @@
|
||||
// invalidate any other reasons why the executable file might be covered by
|
||||
// the GNU General Public License.
|
||||
|
||||
#ifndef _GLIBCXX_STDLIB_H
|
||||
#define _GLIBCXX_STDLIB_H 1
|
||||
/** @file stdlib.h
|
||||
* This is a Standard C++ Library header.
|
||||
*/
|
||||
|
||||
#include <cstdlib>
|
||||
|
||||
#ifndef _GLIBCXX_STDLIB_H
|
||||
#define _GLIBCXX_STDLIB_H 1
|
||||
|
||||
#ifdef _GLIBCXX_NAMESPACE_C
|
||||
using std::div_t;
|
||||
using std::ldiv_t;
|
||||
|
||||
@ -63,5 +68,6 @@ using std::strtoul;
|
||||
using std::system;
|
||||
using std::wcstombs;
|
||||
using std::wctomb;
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
@ -1,6 +1,6 @@
|
||||
// -*- C++ -*- compatibility header.
|
||||
|
||||
// Copyright (C) 2002 Free Software Foundation, Inc.
|
||||
// Copyright (C) 2002, 2007 Free Software Foundation, Inc.
|
||||
//
|
||||
// This file is part of the GNU ISO C++ Library. This library is free
|
||||
// software; you can redistribute it and/or modify it under the
|
||||
@ -13,10 +13,10 @@
|
||||
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
// GNU General Public License for more details.
|
||||
|
||||
// You should have received a copy of the GNU General Public License along
|
||||
// with this library; see the file COPYING. If not, write to the Free
|
||||
// Software Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301,
|
||||
// USA.
|
||||
// You should have received a copy of the GNU General Public License
|
||||
// along with this library; see the file COPYING. If not, write to
|
||||
// the Free Software Foundation, 51 Franklin Street, Fifth Floor,
|
||||
// Boston, MA 02110-1301, USA.
|
||||
|
||||
// As a special exception, you may use this file as part of a free software
|
||||
// library without restriction. Specifically, if other files instantiate
|
||||
@ -27,11 +27,16 @@
|
||||
// invalidate any other reasons why the executable file might be covered by
|
||||
// the GNU General Public License.
|
||||
|
||||
#ifndef _GLIBCXX_STRING_H
|
||||
#define _GLIBCXX_STRING_H 1
|
||||
/** @file string.h
|
||||
* This is a Standard C++ Library header.
|
||||
*/
|
||||
|
||||
#include <cstring>
|
||||
|
||||
#ifndef _GLIBCXX_STRING_H
|
||||
#define _GLIBCXX_STRING_H 1
|
||||
|
||||
#ifdef _GLIBCXX_NAMESPACE_C
|
||||
using std::memcpy;
|
||||
using std::memmove;
|
||||
using std::strcpy;
|
||||
@ -54,5 +59,6 @@ using std::strtok;
|
||||
using std::memset;
|
||||
using std::strerror;
|
||||
using std::strlen;
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
39
libstdc++-v3/include/c_compatibility/tgmath.h
Normal file
39
libstdc++-v3/include/c_compatibility/tgmath.h
Normal file
@ -0,0 +1,39 @@
|
||||
// -*- C++ -*- compatibility header.
|
||||
|
||||
// Copyright (C) 2007 Free Software Foundation, Inc.
|
||||
//
|
||||
// This file is part of the GNU ISO C++ Library. This library is free
|
||||
// software; you can redistribute it and/or modify it under the
|
||||
// terms of the GNU General Public License as published by the
|
||||
// Free Software Foundation; either version 2, or (at your option)
|
||||
// any later version.
|
||||
|
||||
// This library is distributed in the hope that it will be useful,
|
||||
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
// GNU General Public License for more details.
|
||||
|
||||
// You should have received a copy of the GNU General Public License
|
||||
// along with this library; see the file COPYING. If not, write to
|
||||
// the Free Software Foundation, 51 Franklin Street, Fifth Floor,
|
||||
// Boston, MA 02110-1301, USA.
|
||||
|
||||
// As a special exception, you may use this file as part of a free software
|
||||
// library without restriction. Specifically, if other files instantiate
|
||||
// templates or use macros or inline functions from this file, or you compile
|
||||
// this file and link it with other files to produce an executable, this
|
||||
// file does not by itself cause the resulting executable to be covered by
|
||||
// the GNU General Public License. This exception does not however
|
||||
// invalidate any other reasons why the executable file might be covered by
|
||||
// the GNU General Public License.
|
||||
|
||||
/** @file tgmath.h
|
||||
* This is a Standard C++ Library header.
|
||||
*/
|
||||
|
||||
#include <ctgmath>
|
||||
|
||||
#ifndef _GLIBCXX_TGMATH_H
|
||||
#define _GLIBCXX_TGMATH_H 1
|
||||
|
||||
#endif
|
@ -1,6 +1,6 @@
|
||||
// -*- C++ -*- compatibility header.
|
||||
|
||||
// Copyright (C) 2002 Free Software Foundation, Inc.
|
||||
// Copyright (C) 2002, 2007 Free Software Foundation, Inc.
|
||||
//
|
||||
// This file is part of the GNU ISO C++ Library. This library is free
|
||||
// software; you can redistribute it and/or modify it under the
|
||||
@ -13,10 +13,10 @@
|
||||
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
// GNU General Public License for more details.
|
||||
|
||||
// You should have received a copy of the GNU General Public License along
|
||||
// with this library; see the file COPYING. If not, write to the Free
|
||||
// Software Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301,
|
||||
// USA.
|
||||
// You should have received a copy of the GNU General Public License
|
||||
// along with this library; see the file COPYING. If not, write to
|
||||
// the Free Software Foundation, 51 Franklin Street, Fifth Floor,
|
||||
// Boston, MA 02110-1301, USA.
|
||||
|
||||
// As a special exception, you may use this file as part of a free software
|
||||
// library without restriction. Specifically, if other files instantiate
|
||||
@ -27,11 +27,16 @@
|
||||
// invalidate any other reasons why the executable file might be covered by
|
||||
// the GNU General Public License.
|
||||
|
||||
#ifndef _GLIBCXX_TIME_H
|
||||
#define _GLIBCXX_TIME_H 1
|
||||
/** @file time.h
|
||||
* This is a Standard C++ Library header.
|
||||
*/
|
||||
|
||||
#include <ctime>
|
||||
|
||||
#ifndef _GLIBCXX_TIME_H
|
||||
#define _GLIBCXX_TIME_H 1
|
||||
|
||||
#ifdef _GLIBCXX_NAMESPACE_C
|
||||
// Get rid of those macros defined in <time.h> in lieu of real functions.
|
||||
#undef clock
|
||||
#undef difftime
|
||||
@ -56,5 +61,6 @@ using std::ctime;
|
||||
using std::gmtime;
|
||||
using std::localtime;
|
||||
using std::strftime;
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
@ -1,6 +1,6 @@
|
||||
// -*- C++ -*- compatibility header.
|
||||
|
||||
// Copyright (C) 2002, 2003 Free Software Foundation, Inc.
|
||||
// Copyright (C) 2002, 2003, 2007 Free Software Foundation, Inc.
|
||||
//
|
||||
// This file is part of the GNU ISO C++ Library. This library is free
|
||||
// software; you can redistribute it and/or modify it under the
|
||||
@ -13,10 +13,10 @@
|
||||
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
// GNU General Public License for more details.
|
||||
|
||||
// You should have received a copy of the GNU General Public License along
|
||||
// with this library; see the file COPYING. If not, write to the Free
|
||||
// Software Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301,
|
||||
// USA.
|
||||
// You should have received a copy of the GNU General Public License
|
||||
// along with this library; see the file COPYING. If not, write to
|
||||
// the Free Software Foundation, 51 Franklin Street, Fifth Floor,
|
||||
// Boston, MA 02110-1301, USA.
|
||||
|
||||
// As a special exception, you may use this file as part of a free software
|
||||
// library without restriction. Specifically, if other files instantiate
|
||||
@ -27,11 +27,16 @@
|
||||
// invalidate any other reasons why the executable file might be covered by
|
||||
// the GNU General Public License.
|
||||
|
||||
#ifndef _GLIBCXX_WCHAR_H
|
||||
#define _GLIBCXX_WCHAR_H 1
|
||||
/** @file wchar.h
|
||||
* This is a Standard C++ Library header.
|
||||
*/
|
||||
|
||||
#include <cwchar>
|
||||
|
||||
#ifndef _GLIBCXX_WCHAR_H
|
||||
#define _GLIBCXX_WCHAR_H 1
|
||||
|
||||
#ifdef _GLIBCXX_NAMESPACE_C
|
||||
using std::mbstate_t;
|
||||
|
||||
#if _GLIBCXX_USE_WCHAR_T
|
||||
@ -111,4 +116,6 @@ using std::wcstoull;
|
||||
|
||||
#endif //_GLIBCXX_USE_WCHAR_T
|
||||
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
@ -1,6 +1,6 @@
|
||||
// -*- C++ -*- compatibility header.
|
||||
|
||||
// Copyright (C) 2002 Free Software Foundation, Inc.
|
||||
// Copyright (C) 2002, 2007 Free Software Foundation, Inc.
|
||||
//
|
||||
// This file is part of the GNU ISO C++ Library. This library is free
|
||||
// software; you can redistribute it and/or modify it under the
|
||||
@ -13,10 +13,10 @@
|
||||
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
// GNU General Public License for more details.
|
||||
|
||||
// You should have received a copy of the GNU General Public License along
|
||||
// with this library; see the file COPYING. If not, write to the Free
|
||||
// Software Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301,
|
||||
// USA.
|
||||
// You should have received a copy of the GNU General Public License
|
||||
// along with this library; see the file COPYING. If not, write to
|
||||
// the Free Software Foundation, 51 Franklin Street, Fifth Floor,
|
||||
// Boston, MA 02110-1301, USA.
|
||||
|
||||
// As a special exception, you may use this file as part of a free software
|
||||
// library without restriction. Specifically, if other files instantiate
|
||||
@ -27,11 +27,16 @@
|
||||
// invalidate any other reasons why the executable file might be covered by
|
||||
// the GNU General Public License.
|
||||
|
||||
#ifndef _GLIBCXX_CWCTYPE_H
|
||||
#define _GLIBCXX_CWCTYPE_H 1
|
||||
/** @file wctype.h
|
||||
* This is a Standard C++ Library header.
|
||||
*/
|
||||
|
||||
#include <cwctype>
|
||||
|
||||
#ifndef _GLIBCXX_CWCTYPE_H
|
||||
#define _GLIBCXX_CWCTYPE_H 1
|
||||
|
||||
#ifdef _GLIBCXX_NAMESPACE_C
|
||||
using std::wctype_t;
|
||||
using std::wctrans_t;
|
||||
using std::iswalpha;
|
||||
@ -51,5 +56,6 @@ using std::towlower;
|
||||
using std::towupper;
|
||||
using std::wctrans;
|
||||
using std::wctype;
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
49
libstdc++-v3/include/c_global/cassert
Normal file
49
libstdc++-v3/include/c_global/cassert
Normal file
@ -0,0 +1,49 @@
|
||||
// -*- C++ -*- forwarding header.
|
||||
|
||||
// Copyright (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005
|
||||
// Free Software Foundation, Inc.
|
||||
//
|
||||
// This file is part of the GNU ISO C++ Library. This library is free
|
||||
// software; you can redistribute it and/or modify it under the
|
||||
// terms of the GNU General Public License as published by the
|
||||
// Free Software Foundation; either version 2, or (at your option)
|
||||
// any later version.
|
||||
|
||||
// This library is distributed in the hope that it will be useful,
|
||||
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
// GNU General Public License for more details.
|
||||
|
||||
// You should have received a copy of the GNU General Public License along
|
||||
// with this library; see the file COPYING. If not, write to the Free
|
||||
// Software Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301,
|
||||
// USA.
|
||||
|
||||
// As a special exception, you may use this file as part of a free software
|
||||
// library without restriction. Specifically, if other files instantiate
|
||||
// templates or use macros or inline functions from this file, or you compile
|
||||
// this file and link it with other files to produce an executable, this
|
||||
// file does not by itself cause the resulting executable to be covered by
|
||||
// the GNU General Public License. This exception does not however
|
||||
// invalidate any other reasons why the executable file might be covered by
|
||||
// the GNU General Public License.
|
||||
|
||||
/** @file cassert
|
||||
* This is a Standard C++ Library file. You should @c #include this file
|
||||
* in your programs, rather than any of the "*.h" implementation files.
|
||||
*
|
||||
* This is the C++ version of the Standard C Library header @c assert.h,
|
||||
* and its contents are (mostly) the same as that header, but are all
|
||||
* contained in the namespace @c std (except for names which are defined
|
||||
* as macros in C).
|
||||
*/
|
||||
|
||||
//
|
||||
// ISO C++ 14882: 19.2 Assertions
|
||||
//
|
||||
|
||||
// No include guards on this header...
|
||||
|
||||
#pragma GCC system_header
|
||||
|
||||
#include_next <assert.h>
|
46
libstdc++-v3/include/c_global/ccomplex
Normal file
46
libstdc++-v3/include/c_global/ccomplex
Normal file
@ -0,0 +1,46 @@
|
||||
// <ccomplex> -*- C++ -*-
|
||||
|
||||
// Copyright (C) 2007 Free Software Foundation, Inc.
|
||||
//
|
||||
// This file is part of the GNU ISO C++ Library. This library is free
|
||||
// software; you can redistribute it and/or modify it under the
|
||||
// terms of the GNU General Public License as published by the
|
||||
// Free Software Foundation; either version 2, or (at your option)
|
||||
// any later version.
|
||||
|
||||
// This library is distributed in the hope that it will be useful,
|
||||
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
// GNU General Public License for more details.
|
||||
|
||||
// You should have received a copy of the GNU General Public License along
|
||||
// with this library; see the file COPYING. If not, write to the Free
|
||||
// Software Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301,
|
||||
// USA.
|
||||
|
||||
// As a special exception, you may use this file as part of a free software
|
||||
// library without restriction. Specifically, if other files instantiate
|
||||
// templates or use macros or inline functions from this file, or you compile
|
||||
// this file and link it with other files to produce an executable, this
|
||||
// file does not by itself cause the resulting executable to be covered by
|
||||
// the GNU General Public License. This exception does not however
|
||||
// invalidate any other reasons why the executable file might be covered by
|
||||
// the GNU General Public License.
|
||||
|
||||
/** @file include/ccomplex
|
||||
* This is a Standard C++ Library header.
|
||||
*/
|
||||
|
||||
#pragma GCC system_header
|
||||
|
||||
#ifndef _GLIBCXX_CCOMPLEX
|
||||
#define _GLIBCXX_CCOMPLEX 1
|
||||
|
||||
#ifdef __GXX_EXPERIMENTAL_CXX0X__
|
||||
# include <tr1/ccomplex>
|
||||
#else
|
||||
# include <c++0x_warning.h>
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
90
libstdc++-v3/include/c_global/cctype
Normal file
90
libstdc++-v3/include/c_global/cctype
Normal file
@ -0,0 +1,90 @@
|
||||
// -*- C++ -*- forwarding header.
|
||||
|
||||
// Copyright (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006
|
||||
// Free Software Foundation, Inc.
|
||||
//
|
||||
// This file is part of the GNU ISO C++ Library. This library is free
|
||||
// software; you can redistribute it and/or modify it under the
|
||||
// terms of the GNU General Public License as published by the
|
||||
// Free Software Foundation; either version 2, or (at your option)
|
||||
// any later version.
|
||||
|
||||
// This library is distributed in the hope that it will be useful,
|
||||
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
// GNU General Public License for more details.
|
||||
|
||||
// You should have received a copy of the GNU General Public License along
|
||||
// with this library; see the file COPYING. If not, write to the Free
|
||||
// Software Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301,
|
||||
// USA.
|
||||
|
||||
// As a special exception, you may use this file as part of a free software
|
||||
// library without restriction. Specifically, if other files instantiate
|
||||
// templates or use macros or inline functions from this file, or you compile
|
||||
// this file and link it with other files to produce an executable, this
|
||||
// file does not by itself cause the resulting executable to be covered by
|
||||
// the GNU General Public License. This exception does not however
|
||||
// invalidate any other reasons why the executable file might be covered by
|
||||
// the GNU General Public License.
|
||||
|
||||
/** @file include/cctype
|
||||
* This is a Standard C++ Library file. You should @c #include this file
|
||||
* in your programs, rather than any of the "*.h" implementation files.
|
||||
*
|
||||
* This is the C++ version of the Standard C Library header @c ctype.h,
|
||||
* and its contents are (mostly) the same as that header, but are all
|
||||
* contained in the namespace @c std (except for names which are defined
|
||||
* as macros in C).
|
||||
*/
|
||||
|
||||
//
|
||||
// ISO C++ 14882: <ccytpe>
|
||||
//
|
||||
|
||||
#pragma GCC system_header
|
||||
|
||||
#include <bits/c++config.h>
|
||||
#include_next <ctype.h>
|
||||
|
||||
#ifndef _GLIBCXX_CCTYPE
|
||||
#define _GLIBCXX_CCTYPE 1
|
||||
|
||||
// Get rid of those macros defined in <ctype.h> in lieu of real functions.
|
||||
#undef isalnum
|
||||
#undef isalpha
|
||||
#undef iscntrl
|
||||
#undef isdigit
|
||||
#undef isgraph
|
||||
#undef islower
|
||||
#undef isprint
|
||||
#undef ispunct
|
||||
#undef isspace
|
||||
#undef isupper
|
||||
#undef isxdigit
|
||||
#undef tolower
|
||||
#undef toupper
|
||||
|
||||
_GLIBCXX_BEGIN_NAMESPACE(std)
|
||||
|
||||
using ::isalnum;
|
||||
using ::isalpha;
|
||||
using ::iscntrl;
|
||||
using ::isdigit;
|
||||
using ::isgraph;
|
||||
using ::islower;
|
||||
using ::isprint;
|
||||
using ::ispunct;
|
||||
using ::isspace;
|
||||
using ::isupper;
|
||||
using ::isxdigit;
|
||||
using ::tolower;
|
||||
using ::toupper;
|
||||
|
||||
_GLIBCXX_END_NAMESPACE
|
||||
|
||||
#ifdef __GXX_EXPERIMENTAL_CXX0X__
|
||||
# include <tr1/cctype>
|
||||
#endif
|
||||
|
||||
#endif
|
57
libstdc++-v3/include/c_global/cerrno
Normal file
57
libstdc++-v3/include/c_global/cerrno
Normal file
@ -0,0 +1,57 @@
|
||||
// The -*- C++ -*- forwarding header.
|
||||
|
||||
// Copyright (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005
|
||||
// Free Software Foundation, Inc.
|
||||
//
|
||||
// This file is part of the GNU ISO C++ Library. This library is free
|
||||
// software; you can redistribute it and/or modify it under the
|
||||
// terms of the GNU General Public License as published by the
|
||||
// Free Software Foundation; either version 2, or (at your option)
|
||||
// any later version.
|
||||
|
||||
// This library is distributed in the hope that it will be useful,
|
||||
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
// GNU General Public License for more details.
|
||||
|
||||
// You should have received a copy of the GNU General Public License
|
||||
// along with this library; see the file COPYING. If not, write to
|
||||
// the Free Software Foundation, 51 Franklin Street, Fifth Floor,
|
||||
// Boston, MA 02110-1301, USA.
|
||||
|
||||
// As a special exception, you may use this file as part of a free software
|
||||
// library without restriction. Specifically, if other files instantiate
|
||||
// templates or use macros or inline functions from this file, or you compile
|
||||
// this file and link it with other files to produce an executable, this
|
||||
// file does not by itself cause the resulting executable to be covered by
|
||||
// the GNU General Public License. This exception does not however
|
||||
// invalidate any other reasons why the executable file might be covered by
|
||||
// the GNU General Public License.
|
||||
|
||||
/** @file cerrno
|
||||
* This is a Standard C++ Library file. You should @c #include this file
|
||||
* in your programs, rather than any of the "*.h" implementation files.
|
||||
*
|
||||
* This is the C++ version of the Standard C Library header @c errno.h,
|
||||
* and its contents are (mostly) the same as that header, but are all
|
||||
* contained in the namespace @c std (except for names which are defined
|
||||
* as macros in C).
|
||||
*/
|
||||
|
||||
//
|
||||
// ISO C++ 14882: 19.3 Error numbers
|
||||
//
|
||||
|
||||
#pragma GCC system_header
|
||||
|
||||
#include_next <errno.h>
|
||||
|
||||
#ifndef _GLIBCXX_CERRNO
|
||||
#define _GLIBCXX_CERRNO 1
|
||||
|
||||
// Adhere to section 17.4.1.2 clause 5 of ISO 14882:1998
|
||||
#ifndef errno
|
||||
#define errno errno
|
||||
#endif
|
||||
|
||||
#endif
|
46
libstdc++-v3/include/c_global/cfenv
Normal file
46
libstdc++-v3/include/c_global/cfenv
Normal file
@ -0,0 +1,46 @@
|
||||
// <cfenv> -*- C++ -*-
|
||||
|
||||
// Copyright (C) 2007 Free Software Foundation, Inc.
|
||||
//
|
||||
// This file is part of the GNU ISO C++ Library. This library is free
|
||||
// software; you can redistribute it and/or modify it under the
|
||||
// terms of the GNU General Public License as published by the
|
||||
// Free Software Foundation; either version 2, or (at your option)
|
||||
// any later version.
|
||||
|
||||
// This library is distributed in the hope that it will be useful,
|
||||
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
// GNU General Public License for more details.
|
||||
|
||||
// You should have received a copy of the GNU General Public License
|
||||
// along with this library; see the file COPYING. If not, write to
|
||||
// the Free Software Foundation, 51 Franklin Street, Fifth Floor,
|
||||
// Boston, MA 02110-1301, USA.
|
||||
|
||||
// As a special exception, you may use this file as part of a free software
|
||||
// library without restriction. Specifically, if other files instantiate
|
||||
// templates or use macros or inline functions from this file, or you compile
|
||||
// this file and link it with other files to produce an executable, this
|
||||
// file does not by itself cause the resulting executable to be covered by
|
||||
// the GNU General Public License. This exception does not however
|
||||
// invalidate any other reasons why the executable file might be covered by
|
||||
// the GNU General Public License.
|
||||
|
||||
/** @file include/cfenv
|
||||
* This is a Standard C++ Library header.
|
||||
*/
|
||||
|
||||
#pragma GCC system_header
|
||||
|
||||
#ifndef _GLIBCXX_CFENV
|
||||
#define _GLIBCXX_CFENV 1
|
||||
|
||||
#ifdef __GXX_EXPERIMENTAL_CXX0X__
|
||||
# include <tr1/cfenv>
|
||||
#else
|
||||
# include <c++0x_warning.h>
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
56
libstdc++-v3/include/c_global/cfloat
Normal file
56
libstdc++-v3/include/c_global/cfloat
Normal file
@ -0,0 +1,56 @@
|
||||
// -*- C++ -*- forwarding header.
|
||||
|
||||
// Copyright (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006
|
||||
// Free Software Foundation, Inc.
|
||||
//
|
||||
// This file is part of the GNU ISO C++ Library. This library is free
|
||||
// software; you can redistribute it and/or modify it under the
|
||||
// terms of the GNU General Public License as published by the
|
||||
// Free Software Foundation; either version 2, or (at your option)
|
||||
// any later version.
|
||||
|
||||
// This library is distributed in the hope that it will be useful,
|
||||
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
// GNU General Public License for more details.
|
||||
|
||||
// You should have received a copy of the GNU General Public License
|
||||
// along with this library; see the file COPYING. If not, write to
|
||||
// the Free Software Foundation, 51 Franklin Street, Fifth Floor,
|
||||
// Boston, MA 02110-1301, USA.
|
||||
|
||||
// As a special exception, you may use this file as part of a free software
|
||||
// library without restriction. Specifically, if other files instantiate
|
||||
// templates or use macros or inline functions from this file, or you compile
|
||||
// this file and link it with other files to produce an executable, this
|
||||
// file does not by itself cause the resulting executable to be covered by
|
||||
// the GNU General Public License. This exception does not however
|
||||
// invalidate any other reasons why the executable file might be covered by
|
||||
// the GNU General Public License.
|
||||
|
||||
/** @file include/cfloat
|
||||
* This is a Standard C++ Library file. You should @c #include this file
|
||||
* in your programs, rather than any of the "*.h" implementation files.
|
||||
*
|
||||
* This is the C++ version of the Standard C Library header @c float.h,
|
||||
* and its contents are (mostly) the same as that header, but are all
|
||||
* contained in the namespace @c std (except for names which are defined
|
||||
* as macros in C).
|
||||
*/
|
||||
|
||||
//
|
||||
// ISO C++ 14882: 18.2.2 Implementation properties: C library
|
||||
//
|
||||
|
||||
#pragma GCC system_header
|
||||
|
||||
#include_next <float.h>
|
||||
|
||||
#ifndef _GLIBCXX_CFLOAT
|
||||
#define _GLIBCXX_CFLOAT 1
|
||||
|
||||
#ifdef __GXX_EXPERIMENTAL_CXX0X__
|
||||
# include <tr1/cfloat>
|
||||
#endif
|
||||
|
||||
#endif
|
46
libstdc++-v3/include/c_global/cinttypes
Normal file
46
libstdc++-v3/include/c_global/cinttypes
Normal file
@ -0,0 +1,46 @@
|
||||
// <cinttypes> -*- C++ -*-
|
||||
|
||||
// Copyright (C) 2007 Free Software Foundation, Inc.
|
||||
//
|
||||
// This file is part of the GNU ISO C++ Library. This library is free
|
||||
// software; you can redistribute it and/or modify it under the
|
||||
// terms of the GNU General Public License as published by the
|
||||
// Free Software Foundation; either version 2, or (at your option)
|
||||
// any later version.
|
||||
|
||||
// This library is distributed in the hope that it will be useful,
|
||||
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
// GNU General Public License for more details.
|
||||
|
||||
// You should have received a copy of the GNU General Public License
|
||||
// along with this library; see the file COPYING. If not, write to
|
||||
// the Free Software Foundation, 51 Franklin Street, Fifth Floor,
|
||||
// Boston, MA 02110-1301, USA.
|
||||
|
||||
// As a special exception, you may use this file as part of a free software
|
||||
// library without restriction. Specifically, if other files instantiate
|
||||
// templates or use macros or inline functions from this file, or you compile
|
||||
// this file and link it with other files to produce an executable, this
|
||||
// file does not by itself cause the resulting executable to be covered by
|
||||
// the GNU General Public License. This exception does not however
|
||||
// invalidate any other reasons why the executable file might be covered by
|
||||
// the GNU General Public License.
|
||||
|
||||
/** @file include/cinttypes
|
||||
* This is a Standard C++ Library header.
|
||||
*/
|
||||
|
||||
#pragma GCC system_header
|
||||
|
||||
#ifndef _GLIBCXX_CINTTYPES
|
||||
#define _GLIBCXX_CINTTYPES 1
|
||||
|
||||
#ifdef __GXX_EXPERIMENTAL_CXX0X__
|
||||
# include <tr1/cinttypes>
|
||||
#else
|
||||
# include <c++0x_warning.h>
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
38
libstdc++-v3/include/c_global/ciso646
Normal file
38
libstdc++-v3/include/c_global/ciso646
Normal file
@ -0,0 +1,38 @@
|
||||
// -*- C++ -*- forwarding header.
|
||||
|
||||
// Copyright (C) 2001, 2002, 2003, 2004, 2005 Free Software Foundation, Inc.
|
||||
//
|
||||
// This file is part of the GNU ISO C++ Library. This library is free
|
||||
// software; you can redistribute it and/or modify it under the
|
||||
// terms of the GNU General Public License as published by the
|
||||
// Free Software Foundation; either version 2, or (at your option)
|
||||
// any later version.
|
||||
|
||||
// This library is distributed in the hope that it will be useful,
|
||||
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
// GNU General Public License for more details.
|
||||
|
||||
// You should have received a copy of the GNU General Public License
|
||||
// along with this library; see the file COPYING. If not, write to
|
||||
// the Free Software Foundation, 51 Franklin Street, Fifth Floor,
|
||||
// Boston, MA 02110-1301, USA.
|
||||
|
||||
// As a special exception, you may use this file as part of a free software
|
||||
// library without restriction. Specifically, if other files instantiate
|
||||
// templates or use macros or inline functions from this file, or you compile
|
||||
// this file and link it with other files to produce an executable, this
|
||||
// file does not by itself cause the resulting executable to be covered by
|
||||
// the GNU General Public License. This exception does not however
|
||||
// invalidate any other reasons why the executable file might be covered by
|
||||
// the GNU General Public License.
|
||||
|
||||
/** @file ciso646
|
||||
* This is a Standard C++ Library file. You should @c #include this file
|
||||
* in your programs, rather than any of the "*.h" implementation files.
|
||||
*
|
||||
* This is the C++ version of the Standard C Library header @c iso646.h,
|
||||
* and its contents are (mostly) the same as that header, but are all
|
||||
* contained in the namespace @c std (except for names which are defined
|
||||
* as macros in C).
|
||||
*/
|
56
libstdc++-v3/include/c_global/climits
Normal file
56
libstdc++-v3/include/c_global/climits
Normal file
@ -0,0 +1,56 @@
|
||||
// -*- C++ -*- forwarding header.
|
||||
|
||||
// Copyright (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006
|
||||
// Free Software Foundation, Inc.
|
||||
//
|
||||
// This file is part of the GNU ISO C++ Library. This library is free
|
||||
// software; you can redistribute it and/or modify it under the
|
||||
// terms of the GNU General Public License as published by the
|
||||
// Free Software Foundation; either version 2, or (at your option)
|
||||
// any later version.
|
||||
|
||||
// This library is distributed in the hope that it will be useful,
|
||||
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
// GNU General Public License for more details.
|
||||
|
||||
// You should have received a copy of the GNU General Public License
|
||||
// along with this library; see the file COPYING. If not, write to
|
||||
// the Free Software Foundation, 51 Franklin Street, Fifth Floor,
|
||||
// Boston, MA 02110-1301, USA.
|
||||
|
||||
// As a special exception, you may use this file as part of a free software
|
||||
// library without restriction. Specifically, if other files instantiate
|
||||
// templates or use macros or inline functions from this file, or you compile
|
||||
// this file and link it with other files to produce an executable, this
|
||||
// file does not by itself cause the resulting executable to be covered by
|
||||
// the GNU General Public License. This exception does not however
|
||||
// invalidate any other reasons why the executable file might be covered by
|
||||
// the GNU General Public License.
|
||||
|
||||
/** @file include/climits
|
||||
* This is a Standard C++ Library file. You should @c #include this file
|
||||
* in your programs, rather than any of the "*.h" implementation files.
|
||||
*
|
||||
* This is the C++ version of the Standard C Library header @c limits.h,
|
||||
* and its contents are (mostly) the same as that header, but are all
|
||||
* contained in the namespace @c std (except for names which are defined
|
||||
* as macros in C).
|
||||
*/
|
||||
|
||||
//
|
||||
// ISO C++ 14882: 18.2.2 Implementation properties: C library
|
||||
//
|
||||
|
||||
#pragma GCC system_header
|
||||
|
||||
#include_next <limits.h>
|
||||
|
||||
#ifndef _GLIBCXX_CLIMITS
|
||||
#define _GLIBCXX_CLIMITS 1
|
||||
|
||||
#ifdef __GXX_EXPERIMENTAL_CXX0X__
|
||||
# include <tr1/climits>
|
||||
#endif
|
||||
|
||||
#endif
|
65
libstdc++-v3/include/c_global/clocale
Normal file
65
libstdc++-v3/include/c_global/clocale
Normal file
@ -0,0 +1,65 @@
|
||||
// -*- C++ -*- forwarding header.
|
||||
|
||||
// Copyright (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005
|
||||
// Free Software Foundation, Inc.
|
||||
//
|
||||
// This file is part of the GNU ISO C++ Library. This library is free
|
||||
// software; you can redistribute it and/or modify it under the
|
||||
// terms of the GNU General Public License as published by the
|
||||
// Free Software Foundation; either version 2, or (at your option)
|
||||
// any later version.
|
||||
|
||||
// This library is distributed in the hope that it will be useful,
|
||||
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
// GNU General Public License for more details.
|
||||
|
||||
// You should have received a copy of the GNU General Public License
|
||||
// along with this library; see the file COPYING. If not, write to
|
||||
// the Free Software Foundation, 51 Franklin Street, Fifth Floor,
|
||||
// Boston, MA 02110-1301, USA.
|
||||
|
||||
// As a special exception, you may use this file as part of a free software
|
||||
// library without restriction. Specifically, if other files instantiate
|
||||
// templates or use macros or inline functions from this file, or you compile
|
||||
// this file and link it with other files to produce an executable, this
|
||||
// file does not by itself cause the resulting executable to be covered by
|
||||
// the GNU General Public License. This exception does not however
|
||||
// invalidate any other reasons why the executable file might be covered by
|
||||
// the GNU General Public License.
|
||||
|
||||
/** @file clocale
|
||||
* This is a Standard C++ Library file. You should @c #include this file
|
||||
* in your programs, rather than any of the "*.h" implementation files.
|
||||
*
|
||||
* This is the C++ version of the Standard C Library header @c locale.h,
|
||||
* and its contents are (mostly) the same as that header, but are all
|
||||
* contained in the namespace @c std (except for names which are defined
|
||||
* as macros in C).
|
||||
*/
|
||||
|
||||
//
|
||||
// ISO C++ 14882: 18.2.2 Implementation properties: C library
|
||||
//
|
||||
|
||||
#pragma GCC system_header
|
||||
|
||||
#include <bits/c++config.h>
|
||||
#include_next <locale.h>
|
||||
|
||||
#ifndef _GLIBCXX_CLOCALE
|
||||
#define _GLIBCXX_CLOCALE 1
|
||||
|
||||
// Get rid of those macros defined in <locale.h> in lieu of real functions.
|
||||
#undef setlocale
|
||||
#undef localeconv
|
||||
|
||||
_GLIBCXX_BEGIN_NAMESPACE(std)
|
||||
|
||||
using ::lconv;
|
||||
using ::setlocale;
|
||||
using ::localeconv;
|
||||
|
||||
_GLIBCXX_END_NAMESPACE
|
||||
|
||||
#endif
|
603
libstdc++-v3/include/c_global/cmath
Normal file
603
libstdc++-v3/include/c_global/cmath
Normal file
@ -0,0 +1,603 @@
|
||||
// -*- C++ -*- C forwarding header.
|
||||
|
||||
// Copyright (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006
|
||||
// Free Software Foundation, Inc.
|
||||
//
|
||||
// This file is part of the GNU ISO C++ Library. This library is free
|
||||
// software; you can redistribute it and/or modify it under the
|
||||
// terms of the GNU General Public License as published by the
|
||||
// Free Software Foundation; either version 2, or (at your option)
|
||||
// any later version.
|
||||
|
||||
// This library is distributed in the hope that it will be useful,
|
||||
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
// GNU General Public License for more details.
|
||||
|
||||
// You should have received a copy of the GNU General Public License
|
||||
// along with this library; see the file COPYING. If not, write to
|
||||
// the Free Software Foundation, 51 Franklin Street, Fifth Floor,
|
||||
// Boston, MA 02110-1301, USA.
|
||||
|
||||
// As a special exception, you may use this file as part of a free software
|
||||
// library without restriction. Specifically, if other files instantiate
|
||||
// templates or use macros or inline functions from this file, or you compile
|
||||
// this file and link it with other files to produce an executable, this
|
||||
// file does not by itself cause the resulting executable to be covered by
|
||||
// the GNU General Public License. This exception does not however
|
||||
// invalidate any other reasons why the executable file might be covered by
|
||||
// the GNU General Public License.
|
||||
|
||||
/** @file include/cmath
|
||||
* This is a Standard C++ Library file. You should @c #include this file
|
||||
* in your programs, rather than any of the "*.h" implementation files.
|
||||
*
|
||||
* This is the C++ version of the Standard C Library header @c math.h,
|
||||
* and its contents are (mostly) the same as that header, but are all
|
||||
* contained in the namespace @c std (except for names which are defined
|
||||
* as macros in C).
|
||||
*/
|
||||
|
||||
//
|
||||
// ISO C++ 14882: 26.5 C library
|
||||
//
|
||||
|
||||
#pragma GCC system_header
|
||||
|
||||
#include <bits/c++config.h>
|
||||
#include <bits/cpp_type_traits.h>
|
||||
#include <ext/type_traits.h>
|
||||
#include_next <math.h>
|
||||
|
||||
#ifndef _GLIBCXX_CMATH
|
||||
#define _GLIBCXX_CMATH 1
|
||||
|
||||
// Get rid of those macros defined in <math.h> in lieu of real functions.
|
||||
#undef abs
|
||||
#undef div
|
||||
#undef acos
|
||||
#undef asin
|
||||
#undef atan
|
||||
#undef atan2
|
||||
#undef ceil
|
||||
#undef cos
|
||||
#undef cosh
|
||||
#undef exp
|
||||
#undef fabs
|
||||
#undef floor
|
||||
#undef fmod
|
||||
#undef frexp
|
||||
#undef ldexp
|
||||
#undef log
|
||||
#undef log10
|
||||
#undef modf
|
||||
#undef pow
|
||||
#undef sin
|
||||
#undef sinh
|
||||
#undef sqrt
|
||||
#undef tan
|
||||
#undef tanh
|
||||
|
||||
_GLIBCXX_BEGIN_NAMESPACE(std)
|
||||
|
||||
// Forward declaration of a helper function. This really should be
|
||||
// an `exported' forward declaration.
|
||||
template<typename _Tp> _Tp __cmath_power(_Tp, unsigned int);
|
||||
|
||||
inline double
|
||||
abs(double __x)
|
||||
{ return __builtin_fabs(__x); }
|
||||
|
||||
inline float
|
||||
abs(float __x)
|
||||
{ return __builtin_fabsf(__x); }
|
||||
|
||||
inline long double
|
||||
abs(long double __x)
|
||||
{ return __builtin_fabsl(__x); }
|
||||
|
||||
using ::acos;
|
||||
|
||||
inline float
|
||||
acos(float __x)
|
||||
{ return __builtin_acosf(__x); }
|
||||
|
||||
inline long double
|
||||
acos(long double __x)
|
||||
{ return __builtin_acosl(__x); }
|
||||
|
||||
template<typename _Tp>
|
||||
inline typename __gnu_cxx::__enable_if<__is_integer<_Tp>::__value,
|
||||
double>::__type
|
||||
acos(_Tp __x)
|
||||
{ return __builtin_acos(__x); }
|
||||
|
||||
using ::asin;
|
||||
|
||||
inline float
|
||||
asin(float __x)
|
||||
{ return __builtin_asinf(__x); }
|
||||
|
||||
inline long double
|
||||
asin(long double __x)
|
||||
{ return __builtin_asinl(__x); }
|
||||
|
||||
template<typename _Tp>
|
||||
inline typename __gnu_cxx::__enable_if<__is_integer<_Tp>::__value,
|
||||
double>::__type
|
||||
asin(_Tp __x)
|
||||
{ return __builtin_asin(__x); }
|
||||
|
||||
using ::atan;
|
||||
|
||||
inline float
|
||||
atan(float __x)
|
||||
{ return __builtin_atanf(__x); }
|
||||
|
||||
inline long double
|
||||
atan(long double __x)
|
||||
{ return __builtin_atanl(__x); }
|
||||
|
||||
template<typename _Tp>
|
||||
inline typename __gnu_cxx::__enable_if<__is_integer<_Tp>::__value,
|
||||
double>::__type
|
||||
atan(_Tp __x)
|
||||
{ return __builtin_atan(__x); }
|
||||
|
||||
using ::atan2;
|
||||
|
||||
inline float
|
||||
atan2(float __y, float __x)
|
||||
{ return __builtin_atan2f(__y, __x); }
|
||||
|
||||
inline long double
|
||||
atan2(long double __y, long double __x)
|
||||
{ return __builtin_atan2l(__y, __x); }
|
||||
|
||||
template<typename _Tp, typename _Up>
|
||||
inline typename __gnu_cxx::__enable_if<__is_integer<_Tp>::__value
|
||||
&& __is_integer<_Up>::__value,
|
||||
double>::__type
|
||||
atan2(_Tp __y, _Up __x)
|
||||
{ return __builtin_atan2(__y, __x); }
|
||||
|
||||
using ::ceil;
|
||||
|
||||
inline float
|
||||
ceil(float __x)
|
||||
{ return __builtin_ceilf(__x); }
|
||||
|
||||
inline long double
|
||||
ceil(long double __x)
|
||||
{ return __builtin_ceill(__x); }
|
||||
|
||||
template<typename _Tp>
|
||||
inline typename __gnu_cxx::__enable_if<__is_integer<_Tp>::__value,
|
||||
double>::__type
|
||||
ceil(_Tp __x)
|
||||
{ return __builtin_ceil(__x); }
|
||||
|
||||
using ::cos;
|
||||
|
||||
inline float
|
||||
cos(float __x)
|
||||
{ return __builtin_cosf(__x); }
|
||||
|
||||
inline long double
|
||||
cos(long double __x)
|
||||
{ return __builtin_cosl(__x); }
|
||||
|
||||
template<typename _Tp>
|
||||
inline typename __gnu_cxx::__enable_if<__is_integer<_Tp>::__value,
|
||||
double>::__type
|
||||
cos(_Tp __x)
|
||||
{ return __builtin_cos(__x); }
|
||||
|
||||
using ::cosh;
|
||||
|
||||
inline float
|
||||
cosh(float __x)
|
||||
{ return __builtin_coshf(__x); }
|
||||
|
||||
inline long double
|
||||
cosh(long double __x)
|
||||
{ return __builtin_coshl(__x); }
|
||||
|
||||
template<typename _Tp>
|
||||
inline typename __gnu_cxx::__enable_if<__is_integer<_Tp>::__value,
|
||||
double>::__type
|
||||
cosh(_Tp __x)
|
||||
{ return __builtin_cosh(__x); }
|
||||
|
||||
using ::exp;
|
||||
|
||||
inline float
|
||||
exp(float __x)
|
||||
{ return __builtin_expf(__x); }
|
||||
|
||||
inline long double
|
||||
exp(long double __x)
|
||||
{ return __builtin_expl(__x); }
|
||||
|
||||
template<typename _Tp>
|
||||
inline typename __gnu_cxx::__enable_if<__is_integer<_Tp>::__value,
|
||||
double>::__type
|
||||
exp(_Tp __x)
|
||||
{ return __builtin_exp(__x); }
|
||||
|
||||
using ::fabs;
|
||||
|
||||
inline float
|
||||
fabs(float __x)
|
||||
{ return __builtin_fabsf(__x); }
|
||||
|
||||
inline long double
|
||||
fabs(long double __x)
|
||||
{ return __builtin_fabsl(__x); }
|
||||
|
||||
template<typename _Tp>
|
||||
inline typename __gnu_cxx::__enable_if<__is_integer<_Tp>::__value,
|
||||
double>::__type
|
||||
fabs(_Tp __x)
|
||||
{ return __builtin_fabs(__x); }
|
||||
|
||||
using ::floor;
|
||||
|
||||
inline float
|
||||
floor(float __x)
|
||||
{ return __builtin_floorf(__x); }
|
||||
|
||||
inline long double
|
||||
floor(long double __x)
|
||||
{ return __builtin_floorl(__x); }
|
||||
|
||||
template<typename _Tp>
|
||||
inline typename __gnu_cxx::__enable_if<__is_integer<_Tp>::__value,
|
||||
double>::__type
|
||||
floor(_Tp __x)
|
||||
{ return __builtin_floor(__x); }
|
||||
|
||||
using ::fmod;
|
||||
|
||||
inline float
|
||||
fmod(float __x, float __y)
|
||||
{ return __builtin_fmodf(__x, __y); }
|
||||
|
||||
inline long double
|
||||
fmod(long double __x, long double __y)
|
||||
{ return __builtin_fmodl(__x, __y); }
|
||||
|
||||
using ::frexp;
|
||||
|
||||
inline float
|
||||
frexp(float __x, int* __exp)
|
||||
{ return __builtin_frexpf(__x, __exp); }
|
||||
|
||||
inline long double
|
||||
frexp(long double __x, int* __exp)
|
||||
{ return __builtin_frexpl(__x, __exp); }
|
||||
|
||||
template<typename _Tp>
|
||||
inline typename __gnu_cxx::__enable_if<__is_integer<_Tp>::__value,
|
||||
double>::__type
|
||||
frexp(_Tp __x, int* __exp)
|
||||
{ return __builtin_frexp(__x, __exp); }
|
||||
|
||||
using ::ldexp;
|
||||
|
||||
inline float
|
||||
ldexp(float __x, int __exp)
|
||||
{ return __builtin_ldexpf(__x, __exp); }
|
||||
|
||||
inline long double
|
||||
ldexp(long double __x, int __exp)
|
||||
{ return __builtin_ldexpl(__x, __exp); }
|
||||
|
||||
template<typename _Tp>
|
||||
inline typename __gnu_cxx::__enable_if<__is_integer<_Tp>::__value,
|
||||
double>::__type
|
||||
ldexp(_Tp __x, int __exp)
|
||||
{ return __builtin_ldexp(__x, __exp); }
|
||||
|
||||
using ::log;
|
||||
|
||||
inline float
|
||||
log(float __x)
|
||||
{ return __builtin_logf(__x); }
|
||||
|
||||
inline long double
|
||||
log(long double __x)
|
||||
{ return __builtin_logl(__x); }
|
||||
|
||||
template<typename _Tp>
|
||||
inline typename __gnu_cxx::__enable_if<__is_integer<_Tp>::__value,
|
||||
double>::__type
|
||||
log(_Tp __x)
|
||||
{ return __builtin_log(__x); }
|
||||
|
||||
using ::log10;
|
||||
|
||||
inline float
|
||||
log10(float __x)
|
||||
{ return __builtin_log10f(__x); }
|
||||
|
||||
inline long double
|
||||
log10(long double __x)
|
||||
{ return __builtin_log10l(__x); }
|
||||
|
||||
template<typename _Tp>
|
||||
inline typename __gnu_cxx::__enable_if<__is_integer<_Tp>::__value,
|
||||
double>::__type
|
||||
log10(_Tp __x)
|
||||
{ return __builtin_log10(__x); }
|
||||
|
||||
using ::modf;
|
||||
|
||||
inline float
|
||||
modf(float __x, float* __iptr)
|
||||
{ return __builtin_modff(__x, __iptr); }
|
||||
|
||||
inline long double
|
||||
modf(long double __x, long double* __iptr)
|
||||
{ return __builtin_modfl(__x, __iptr); }
|
||||
|
||||
template<typename _Tp>
|
||||
inline _Tp
|
||||
__pow_helper(_Tp __x, int __n)
|
||||
{
|
||||
return __n < 0
|
||||
? _Tp(1)/__cmath_power(__x, -__n)
|
||||
: __cmath_power(__x, __n);
|
||||
}
|
||||
|
||||
using ::pow;
|
||||
|
||||
inline float
|
||||
pow(float __x, float __y)
|
||||
{ return __builtin_powf(__x, __y); }
|
||||
|
||||
inline long double
|
||||
pow(long double __x, long double __y)
|
||||
{ return __builtin_powl(__x, __y); }
|
||||
|
||||
inline double
|
||||
pow(double __x, int __i)
|
||||
{ return __builtin_powi(__x, __i); }
|
||||
|
||||
inline float
|
||||
pow(float __x, int __n)
|
||||
{ return __builtin_powif(__x, __n); }
|
||||
|
||||
inline long double
|
||||
pow(long double __x, int __n)
|
||||
{ return __builtin_powil(__x, __n); }
|
||||
|
||||
using ::sin;
|
||||
|
||||
inline float
|
||||
sin(float __x)
|
||||
{ return __builtin_sinf(__x); }
|
||||
|
||||
inline long double
|
||||
sin(long double __x)
|
||||
{ return __builtin_sinl(__x); }
|
||||
|
||||
template<typename _Tp>
|
||||
inline typename __gnu_cxx::__enable_if<__is_integer<_Tp>::__value,
|
||||
double>::__type
|
||||
sin(_Tp __x)
|
||||
{ return __builtin_sin(__x); }
|
||||
|
||||
using ::sinh;
|
||||
|
||||
inline float
|
||||
sinh(float __x)
|
||||
{ return __builtin_sinhf(__x); }
|
||||
|
||||
inline long double
|
||||
sinh(long double __x)
|
||||
{ return __builtin_sinhl(__x); }
|
||||
|
||||
template<typename _Tp>
|
||||
inline typename __gnu_cxx::__enable_if<__is_integer<_Tp>::__value,
|
||||
double>::__type
|
||||
sinh(_Tp __x)
|
||||
{ return __builtin_sinh(__x); }
|
||||
|
||||
using ::sqrt;
|
||||
|
||||
inline float
|
||||
sqrt(float __x)
|
||||
{ return __builtin_sqrtf(__x); }
|
||||
|
||||
inline long double
|
||||
sqrt(long double __x)
|
||||
{ return __builtin_sqrtl(__x); }
|
||||
|
||||
template<typename _Tp>
|
||||
inline typename __gnu_cxx::__enable_if<__is_integer<_Tp>::__value,
|
||||
double>::__type
|
||||
sqrt(_Tp __x)
|
||||
{ return __builtin_sqrt(__x); }
|
||||
|
||||
using ::tan;
|
||||
|
||||
inline float
|
||||
tan(float __x)
|
||||
{ return __builtin_tanf(__x); }
|
||||
|
||||
inline long double
|
||||
tan(long double __x)
|
||||
{ return __builtin_tanl(__x); }
|
||||
|
||||
template<typename _Tp>
|
||||
inline typename __gnu_cxx::__enable_if<__is_integer<_Tp>::__value,
|
||||
double>::__type
|
||||
tan(_Tp __x)
|
||||
{ return __builtin_tan(__x); }
|
||||
|
||||
using ::tanh;
|
||||
|
||||
inline float
|
||||
tanh(float __x)
|
||||
{ return __builtin_tanhf(__x); }
|
||||
|
||||
inline long double
|
||||
tanh(long double __x)
|
||||
{ return __builtin_tanhl(__x); }
|
||||
|
||||
template<typename _Tp>
|
||||
inline typename __gnu_cxx::__enable_if<__is_integer<_Tp>::__value,
|
||||
double>::__type
|
||||
tanh(_Tp __x)
|
||||
{ return __builtin_tanh(__x); }
|
||||
|
||||
_GLIBCXX_END_NAMESPACE
|
||||
|
||||
#if _GLIBCXX_USE_C99_MATH
|
||||
#if !_GLIBCXX_USE_C99_FP_MACROS_DYNAMIC
|
||||
// These are possible macros imported from C99-land. For strict
|
||||
// conformance, remove possible C99-injected names from the global
|
||||
// namespace, and sequester them in the __gnu_cxx extension namespace.
|
||||
|
||||
_GLIBCXX_BEGIN_NAMESPACE(__gnu_cxx)
|
||||
|
||||
template<typename _Tp>
|
||||
inline int
|
||||
__capture_fpclassify(_Tp __f) { return fpclassify(__f); }
|
||||
|
||||
template<typename _Tp>
|
||||
inline int
|
||||
__capture_isfinite(_Tp __f) { return isfinite(__f); }
|
||||
|
||||
template<typename _Tp>
|
||||
inline int
|
||||
__capture_isinf(_Tp __f) { return isinf(__f); }
|
||||
|
||||
template<typename _Tp>
|
||||
inline int
|
||||
__capture_isnan(_Tp __f) { return isnan(__f); }
|
||||
|
||||
template<typename _Tp>
|
||||
inline int
|
||||
__capture_isnormal(_Tp __f) { return isnormal(__f); }
|
||||
|
||||
template<typename _Tp>
|
||||
inline int
|
||||
__capture_signbit(_Tp __f) { return signbit(__f); }
|
||||
|
||||
template<typename _Tp>
|
||||
inline int
|
||||
__capture_isgreater(_Tp __f1, _Tp __f2)
|
||||
{ return isgreater(__f1, __f2); }
|
||||
|
||||
template<typename _Tp>
|
||||
inline int
|
||||
__capture_isgreaterequal(_Tp __f1, _Tp __f2)
|
||||
{ return isgreaterequal(__f1, __f2); }
|
||||
|
||||
template<typename _Tp>
|
||||
inline int
|
||||
__capture_isless(_Tp __f1, _Tp __f2) { return isless(__f1, __f2); }
|
||||
|
||||
template<typename _Tp>
|
||||
inline int
|
||||
__capture_islessequal(_Tp __f1, _Tp __f2)
|
||||
{ return islessequal(__f1, __f2); }
|
||||
|
||||
template<typename _Tp>
|
||||
inline int
|
||||
__capture_islessgreater(_Tp __f1, _Tp __f2)
|
||||
{ return islessgreater(__f1, __f2); }
|
||||
|
||||
template<typename _Tp>
|
||||
inline int
|
||||
__capture_isunordered(_Tp __f1, _Tp __f2)
|
||||
{ return isunordered(__f1, __f2); }
|
||||
|
||||
_GLIBCXX_END_NAMESPACE
|
||||
|
||||
// Only undefine the C99 FP macros, if actually captured for namespace movement
|
||||
#undef fpclassify
|
||||
#undef isfinite
|
||||
#undef isinf
|
||||
#undef isnan
|
||||
#undef isnormal
|
||||
#undef signbit
|
||||
#undef isgreater
|
||||
#undef isgreaterequal
|
||||
#undef isless
|
||||
#undef islessequal
|
||||
#undef islessgreater
|
||||
#undef isunordered
|
||||
|
||||
_GLIBCXX_BEGIN_NAMESPACE(std)
|
||||
|
||||
template<typename _Tp>
|
||||
inline int
|
||||
fpclassify(_Tp __f) { return ::__gnu_cxx::__capture_fpclassify(__f); }
|
||||
|
||||
template<typename _Tp>
|
||||
inline int
|
||||
isfinite(_Tp __f) { return ::__gnu_cxx::__capture_isfinite(__f); }
|
||||
|
||||
template<typename _Tp>
|
||||
inline int
|
||||
isinf(_Tp __f) { return ::__gnu_cxx::__capture_isinf(__f); }
|
||||
|
||||
template<typename _Tp>
|
||||
inline int
|
||||
isnan(_Tp __f) { return ::__gnu_cxx::__capture_isnan(__f); }
|
||||
|
||||
template<typename _Tp>
|
||||
inline int
|
||||
isnormal(_Tp __f) { return ::__gnu_cxx::__capture_isnormal(__f); }
|
||||
|
||||
template<typename _Tp>
|
||||
inline int
|
||||
signbit(_Tp __f) { return ::__gnu_cxx::__capture_signbit(__f); }
|
||||
|
||||
template<typename _Tp>
|
||||
inline int
|
||||
isgreater(_Tp __f1, _Tp __f2)
|
||||
{ return ::__gnu_cxx::__capture_isgreater(__f1, __f2); }
|
||||
|
||||
template<typename _Tp>
|
||||
inline int
|
||||
isgreaterequal(_Tp __f1, _Tp __f2)
|
||||
{ return ::__gnu_cxx::__capture_isgreaterequal(__f1, __f2); }
|
||||
|
||||
template<typename _Tp>
|
||||
inline int
|
||||
isless(_Tp __f1, _Tp __f2)
|
||||
{ return ::__gnu_cxx::__capture_isless(__f1, __f2); }
|
||||
|
||||
template<typename _Tp>
|
||||
inline int
|
||||
islessequal(_Tp __f1, _Tp __f2)
|
||||
{ return ::__gnu_cxx::__capture_islessequal(__f1, __f2); }
|
||||
|
||||
template<typename _Tp>
|
||||
inline int
|
||||
islessgreater(_Tp __f1, _Tp __f2)
|
||||
{ return ::__gnu_cxx::__capture_islessgreater(__f1, __f2); }
|
||||
|
||||
template<typename _Tp>
|
||||
inline int
|
||||
isunordered(_Tp __f1, _Tp __f2)
|
||||
{ return ::__gnu_cxx::__capture_isunordered(__f1, __f2); }
|
||||
|
||||
_GLIBCXX_END_NAMESPACE
|
||||
|
||||
#endif /* _GLIBCXX_USE_C99_FP_MACROS_DYNAMIC */
|
||||
#endif
|
||||
|
||||
#ifndef _GLIBCXX_EXPORT_TEMPLATE
|
||||
# include <bits/cmath.tcc>
|
||||
#endif
|
||||
|
||||
#ifdef __GXX_EXPERIMENTAL_CXX0X__
|
||||
# include <tr1/cmath>
|
||||
#endif
|
||||
|
||||
#endif
|
59
libstdc++-v3/include/c_global/cmath.tcc
Normal file
59
libstdc++-v3/include/c_global/cmath.tcc
Normal file
@ -0,0 +1,59 @@
|
||||
// -*- C++ -*- C math library.
|
||||
|
||||
// Copyright (C) 2000, 2003, 2004, 2006 Free Software Foundation, Inc.
|
||||
//
|
||||
// This file is part of the GNU ISO C++ Library. This library is free
|
||||
// software; you can redistribute it and/or modify it under the
|
||||
// terms of the GNU General Public License as published by the
|
||||
// Free Software Foundation; either version 2, or (at your option)
|
||||
// any later version.
|
||||
|
||||
// This library is distributed in the hope that it will be useful,
|
||||
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
// GNU General Public License for more details.
|
||||
|
||||
// You should have received a copy of the GNU General Public License
|
||||
// along with this library; see the file COPYING. If not, write to
|
||||
// the Free Software Foundation, 51 Franklin Street, Fifth Floor,
|
||||
// Boston, MA 02110-1301, USA.
|
||||
|
||||
// As a special exception, you may use this file as part of a free software
|
||||
// library without restriction. Specifically, if other files instantiate
|
||||
// templates or use macros or inline functions from this file, or you compile
|
||||
// this file and link it with other files to produce an executable, this
|
||||
// file does not by itself cause the resulting executable to be covered by
|
||||
// the GNU General Public License. This exception does not however
|
||||
// invalidate any other reasons why the executable file might be covered by
|
||||
// the GNU General Public License.
|
||||
|
||||
// This file was written by Gabriel Dos Reis <gdr@codesourcery.com>
|
||||
|
||||
/** @file cmath.tcc
|
||||
* This is a Standard C++ Library file.
|
||||
*/
|
||||
|
||||
#ifndef _GLIBCXX_CMATH_TCC
|
||||
#define _GLIBCXX_CMATH_TCC 1
|
||||
|
||||
_GLIBCXX_BEGIN_NAMESPACE(std)
|
||||
|
||||
template<typename _Tp>
|
||||
inline _Tp
|
||||
__cmath_power(_Tp __x, unsigned int __n)
|
||||
{
|
||||
_Tp __y = __n % 2 ? __x : 1;
|
||||
|
||||
while (__n >>= 1)
|
||||
{
|
||||
__x = __x * __x;
|
||||
if (__n % 2)
|
||||
__y = __y * __x;
|
||||
}
|
||||
|
||||
return __y;
|
||||
}
|
||||
|
||||
_GLIBCXX_END_NAMESPACE
|
||||
|
||||
#endif
|
68
libstdc++-v3/include/c_global/csetjmp
Normal file
68
libstdc++-v3/include/c_global/csetjmp
Normal file
@ -0,0 +1,68 @@
|
||||
// -*- C++ -*- forwarding header.
|
||||
|
||||
// Copyright (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005
|
||||
// Free Software Foundation, Inc.
|
||||
//
|
||||
// This file is part of the GNU ISO C++ Library. This library is free
|
||||
// software; you can redistribute it and/or modify it under the
|
||||
// terms of the GNU General Public License as published by the
|
||||
// Free Software Foundation; either version 2, or (at your option)
|
||||
// any later version.
|
||||
|
||||
// This library is distributed in the hope that it will be useful,
|
||||
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
// GNU General Public License for more details.
|
||||
|
||||
// You should have received a copy of the GNU General Public License
|
||||
// along with this library; see the file COPYING. If not, write to
|
||||
// the Free Software Foundation, 51 Franklin Street, Fifth Floor,
|
||||
// Boston, MA 02110-1301, USA.
|
||||
|
||||
// As a special exception, you may use this file as part of a free software
|
||||
// library without restriction. Specifically, if other files instantiate
|
||||
// templates or use macros or inline functions from this file, or you compile
|
||||
// this file and link it with other files to produce an executable, this
|
||||
// file does not by itself cause the resulting executable to be covered by
|
||||
// the GNU General Public License. This exception does not however
|
||||
// invalidate any other reasons why the executable file might be covered by
|
||||
// the GNU General Public License.
|
||||
|
||||
/** @file csetjmp
|
||||
* This is a Standard C++ Library file. You should @c #include this file
|
||||
* in your programs, rather than any of the "*.h" implementation files.
|
||||
*
|
||||
* This is the C++ version of the Standard C Library header @c setjmp.h,
|
||||
* and its contents are (mostly) the same as that header, but are all
|
||||
* contained in the namespace @c std (except for names which are defined
|
||||
* as macros in C).
|
||||
*/
|
||||
|
||||
//
|
||||
// ISO C++ 14882: 20.4.6 C library
|
||||
//
|
||||
|
||||
#pragma GCC system_header
|
||||
|
||||
#include <bits/c++config.h>
|
||||
#include_next <setjmp.h>
|
||||
|
||||
#ifndef _GLIBCXX_CSETJMP
|
||||
#define _GLIBCXX_CSETJMP 1
|
||||
|
||||
// Get rid of those macros defined in <setjmp.h> in lieu of real functions.
|
||||
#undef longjmp
|
||||
|
||||
// Adhere to section 17.4.1.2 clause 5 of ISO 14882:1998
|
||||
#ifndef setjmp
|
||||
#define setjmp(env) setjmp (env)
|
||||
#endif
|
||||
|
||||
_GLIBCXX_BEGIN_NAMESPACE(std)
|
||||
|
||||
using ::jmp_buf;
|
||||
using ::longjmp;
|
||||
|
||||
_GLIBCXX_END_NAMESPACE
|
||||
|
||||
#endif
|
64
libstdc++-v3/include/c_global/csignal
Normal file
64
libstdc++-v3/include/c_global/csignal
Normal file
@ -0,0 +1,64 @@
|
||||
// -*- C++ -*- forwarding header.
|
||||
|
||||
// Copyright (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005
|
||||
// Free Software Foundation, Inc.
|
||||
//
|
||||
// This file is part of the GNU ISO C++ Library. This library is free
|
||||
// software; you can redistribute it and/or modify it under the
|
||||
// terms of the GNU General Public License as published by the
|
||||
// Free Software Foundation; either version 2, or (at your option)
|
||||
// any later version.
|
||||
|
||||
// This library is distributed in the hope that it will be useful,
|
||||
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
// GNU General Public License for more details.
|
||||
|
||||
// You should have received a copy of the GNU General Public License
|
||||
// along with this library; see the file COPYING. If not, write to
|
||||
// the Free Software Foundation, 51 Franklin Street, Fifth Floor,
|
||||
// Boston, MA 02110-1301, USA.
|
||||
|
||||
// As a special exception, you may use this file as part of a free software
|
||||
// library without restriction. Specifically, if other files instantiate
|
||||
// templates or use macros or inline functions from this file, or you compile
|
||||
// this file and link it with other files to produce an executable, this
|
||||
// file does not by itself cause the resulting executable to be covered by
|
||||
// the GNU General Public License. This exception does not however
|
||||
// invalidate any other reasons why the executable file might be covered by
|
||||
// the GNU General Public License.
|
||||
|
||||
/** @file csignal
|
||||
* This is a Standard C++ Library file. You should @c #include this file
|
||||
* in your programs, rather than any of the "*.h" implementation files.
|
||||
*
|
||||
* This is the C++ version of the Standard C Library header @c signal.h,
|
||||
* and its contents are (mostly) the same as that header, but are all
|
||||
* contained in the namespace @c std (except for names which are defined
|
||||
* as macros in C).
|
||||
*/
|
||||
|
||||
//
|
||||
// ISO C++ 14882: 20.4.6 C library
|
||||
//
|
||||
|
||||
#pragma GCC system_header
|
||||
|
||||
#include <bits/c++config.h>
|
||||
#include_next <signal.h>
|
||||
|
||||
#ifndef _GLIBCXX_CSIGNAL
|
||||
#define _GLIBCXX_CSIGNAL 1
|
||||
|
||||
// Get rid of those macros defined in <signal.h> in lieu of real functions.
|
||||
#undef raise
|
||||
|
||||
_GLIBCXX_BEGIN_NAMESPACE(std)
|
||||
|
||||
using ::sig_atomic_t;
|
||||
using ::signal;
|
||||
using ::raise;
|
||||
|
||||
_GLIBCXX_END_NAMESPACE
|
||||
|
||||
#endif
|
68
libstdc++-v3/include/c_global/cstdarg
Normal file
68
libstdc++-v3/include/c_global/cstdarg
Normal file
@ -0,0 +1,68 @@
|
||||
// -*- C++ -*- forwarding header.
|
||||
|
||||
// Copyright (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006
|
||||
// Free Software Foundation, Inc.
|
||||
//
|
||||
// This file is part of the GNU ISO C++ Library. This library is free
|
||||
// software; you can redistribute it and/or modify it under the
|
||||
// terms of the GNU General Public License as published by the
|
||||
// Free Software Foundation; either version 2, or (at your option)
|
||||
// any later version.
|
||||
|
||||
// This library is distributed in the hope that it will be useful,
|
||||
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
// GNU General Public License for more details.
|
||||
|
||||
// You should have received a copy of the GNU General Public License
|
||||
// along with this library; see the file COPYING. If not, write to
|
||||
// the Free Software Foundation, 51 Franklin Street, Fifth Floor,
|
||||
// Boston, MA 02110-1301, USA.
|
||||
|
||||
// As a special exception, you may use this file as part of a free software
|
||||
// library without restriction. Specifically, if other files instantiate
|
||||
// templates or use macros or inline functions from this file, or you compile
|
||||
// this file and link it with other files to produce an executable, this
|
||||
// file does not by itself cause the resulting executable to be covered by
|
||||
// the GNU General Public License. This exception does not however
|
||||
// invalidate any other reasons why the executable file might be covered by
|
||||
// the GNU General Public License.
|
||||
|
||||
/** @file include/cstdarg
|
||||
* This is a Standard C++ Library file. You should @c #include this file
|
||||
* in your programs, rather than any of the "*.h" implementation files.
|
||||
*
|
||||
* This is the C++ version of the Standard C Library header @c stdarg.h,
|
||||
* and its contents are (mostly) the same as that header, but are all
|
||||
* contained in the namespace @c std (except for names which are defined
|
||||
* as macros in C).
|
||||
*/
|
||||
|
||||
//
|
||||
// ISO C++ 14882: 20.4.6 C library
|
||||
//
|
||||
|
||||
#pragma GCC system_header
|
||||
|
||||
#include <bits/c++config.h>
|
||||
#include_next <stdarg.h>
|
||||
|
||||
#ifndef _GLIBCXX_CSTDARG
|
||||
#define _GLIBCXX_CSTDARG 1
|
||||
|
||||
// Adhere to section 17.4.1.2 clause 5 of ISO 14882:1998
|
||||
#ifndef va_end
|
||||
#define va_end(ap) va_end (ap)
|
||||
#endif
|
||||
|
||||
_GLIBCXX_BEGIN_NAMESPACE(std)
|
||||
|
||||
using ::va_list;
|
||||
|
||||
_GLIBCXX_END_NAMESPACE
|
||||
|
||||
#ifdef __GXX_EXPERIMENTAL_CXX0X__
|
||||
# include <tr1/cstdarg>
|
||||
#endif
|
||||
|
||||
#endif
|
46
libstdc++-v3/include/c_global/cstdbool
Normal file
46
libstdc++-v3/include/c_global/cstdbool
Normal file
@ -0,0 +1,46 @@
|
||||
// <cstdbool> -*- C++ -*-
|
||||
|
||||
// Copyright (C) 2007 Free Software Foundation, Inc.
|
||||
//
|
||||
// This file is part of the GNU ISO C++ Library. This library is free
|
||||
// software; you can redistribute it and/or modify it under the
|
||||
// terms of the GNU General Public License as published by the
|
||||
// Free Software Foundation; either version 2, or (at your option)
|
||||
// any later version.
|
||||
|
||||
// This library is distributed in the hope that it will be useful,
|
||||
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
// GNU General Public License for more details.
|
||||
|
||||
// You should have received a copy of the GNU General Public License
|
||||
// along with this library; see the file COPYING. If not, write to
|
||||
// the Free Software Foundation, 51 Franklin Street, Fifth Floor,
|
||||
// Boston, MA 02110-1301, USA.
|
||||
|
||||
// As a special exception, you may use this file as part of a free software
|
||||
// library without restriction. Specifically, if other files instantiate
|
||||
// templates or use macros or inline functions from this file, or you compile
|
||||
// this file and link it with other files to produce an executable, this
|
||||
// file does not by itself cause the resulting executable to be covered by
|
||||
// the GNU General Public License. This exception does not however
|
||||
// invalidate any other reasons why the executable file might be covered by
|
||||
// the GNU General Public License.
|
||||
|
||||
/** @file include/cstdbool
|
||||
* This is a Standard C++ Library header.
|
||||
*/
|
||||
|
||||
#pragma GCC system_header
|
||||
|
||||
#ifndef _GLIBCXX_CSTDBOOL
|
||||
#define _GLIBCXX_CSTDBOOL 1
|
||||
|
||||
#ifdef __GXX_EXPERIMENTAL_CXX0X__
|
||||
# include <tr1/cstdbool>
|
||||
#else
|
||||
# include <c++0x_warning.h>
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
60
libstdc++-v3/include/c_global/cstddef
Normal file
60
libstdc++-v3/include/c_global/cstddef
Normal file
@ -0,0 +1,60 @@
|
||||
// -*- C++ -*- forwarding header.
|
||||
|
||||
// Copyright (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2007
|
||||
// Free Software Foundation, Inc.
|
||||
//
|
||||
// This file is part of the GNU ISO C++ Library. This library is free
|
||||
// software; you can redistribute it and/or modify it under the
|
||||
// terms of the GNU General Public License as published by the
|
||||
// Free Software Foundation; either version 2, or (at your option)
|
||||
// any later version.
|
||||
|
||||
// This library is distributed in the hope that it will be useful,
|
||||
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
// GNU General Public License for more details.
|
||||
|
||||
// You should have received a copy of the GNU General Public License
|
||||
// along with this library; see the file COPYING. If not, write to
|
||||
// the Free Software Foundation, 51 Franklin Street, Fifth Floor,
|
||||
// Boston, MA 02110-1301, USA.
|
||||
|
||||
// As a special exception, you may use this file as part of a free software
|
||||
// library without restriction. Specifically, if other files instantiate
|
||||
// templates or use macros or inline functions from this file, or you compile
|
||||
// this file and link it with other files to produce an executable, this
|
||||
// file does not by itself cause the resulting executable to be covered by
|
||||
// the GNU General Public License. This exception does not however
|
||||
// invalidate any other reasons why the executable file might be covered by
|
||||
// the GNU General Public License.
|
||||
|
||||
/** @file cstddef
|
||||
* This is a Standard C++ Library file. You should @c #include this file
|
||||
* in your programs, rather than any of the "*.h" implementation files.
|
||||
*
|
||||
* This is the C++ version of the Standard C Library header @c stddef.h,
|
||||
* and its contents are (mostly) the same as that header, but are all
|
||||
* contained in the namespace @c std (except for names which are defined
|
||||
* as macros in C).
|
||||
*/
|
||||
|
||||
//
|
||||
// ISO C++ 14882: 18.1 Types
|
||||
//
|
||||
|
||||
#pragma GCC system_header
|
||||
|
||||
#include <bits/c++config.h>
|
||||
#include_next <stddef.h>
|
||||
|
||||
#ifndef _GLIBCXX_CSTDDEF
|
||||
#define _GLIBCXX_CSTDDEF 1
|
||||
|
||||
_GLIBCXX_BEGIN_NAMESPACE(std)
|
||||
|
||||
using ::ptrdiff_t;
|
||||
using ::size_t;
|
||||
|
||||
_GLIBCXX_END_NAMESPACE
|
||||
|
||||
#endif
|
46
libstdc++-v3/include/c_global/cstdint
Normal file
46
libstdc++-v3/include/c_global/cstdint
Normal file
@ -0,0 +1,46 @@
|
||||
// <cstdint> -*- C++ -*-
|
||||
|
||||
// Copyright (C) 2007 Free Software Foundation, Inc.
|
||||
//
|
||||
// This file is part of the GNU ISO C++ Library. This library is free
|
||||
// software; you can redistribute it and/or modify it under the
|
||||
// terms of the GNU General Public License as published by the
|
||||
// Free Software Foundation; either version 2, or (at your option)
|
||||
// any later version.
|
||||
|
||||
// This library is distributed in the hope that it will be useful,
|
||||
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
// GNU General Public License for more details.
|
||||
|
||||
// You should have received a copy of the GNU General Public License
|
||||
// along with this library; see the file COPYING. If not, write to
|
||||
// the Free Software Foundation, 51 Franklin Street, Fifth Floor,
|
||||
// Boston, MA 02110-1301, USA.
|
||||
|
||||
// As a special exception, you may use this file as part of a free software
|
||||
// library without restriction. Specifically, if other files instantiate
|
||||
// templates or use macros or inline functions from this file, or you compile
|
||||
// this file and link it with other files to produce an executable, this
|
||||
// file does not by itself cause the resulting executable to be covered by
|
||||
// the GNU General Public License. This exception does not however
|
||||
// invalidate any other reasons why the executable file might be covered by
|
||||
// the GNU General Public License.
|
||||
|
||||
/** @file include/cstdint
|
||||
* This is a Standard C++ Library header.
|
||||
*/
|
||||
|
||||
#pragma GCC system_header
|
||||
|
||||
#ifndef _GLIBCXX_CSTDINT
|
||||
#define _GLIBCXX_CSTDINT 1
|
||||
|
||||
#ifdef __GXX_EXPERIMENTAL_CXX0X__
|
||||
# include <tr1/cstdint>
|
||||
#else
|
||||
# include <c++0x_warning.h>
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
194
libstdc++-v3/include/c_global/cstdio
Normal file
194
libstdc++-v3/include/c_global/cstdio
Normal file
@ -0,0 +1,194 @@
|
||||
// -*- C++ -*- forwarding header.
|
||||
|
||||
// Copyright (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006
|
||||
// Free Software Foundation, Inc.
|
||||
//
|
||||
// This file is part of the GNU ISO C++ Library. This library is free
|
||||
// software; you can redistribute it and/or modify it under the
|
||||
// terms of the GNU General Public License as published by the
|
||||
// Free Software Foundation; either version 2, or (at your option)
|
||||
// any later version.
|
||||
|
||||
// This library is distributed in the hope that it will be useful,
|
||||
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
// GNU General Public License for more details.
|
||||
|
||||
// You should have received a copy of the GNU General Public License
|
||||
// along with this library; see the file COPYING. If not, write to
|
||||
// the Free Software Foundation, 51 Franklin Street, Fifth Floor,
|
||||
// Boston, MA 02110-1301, USA.
|
||||
|
||||
// As a special exception, you may use this file as part of a free software
|
||||
// library without restriction. Specifically, if other files instantiate
|
||||
// templates or use macros or inline functions from this file, or you compile
|
||||
// this file and link it with other files to produce an executable, this
|
||||
// file does not by itself cause the resulting executable to be covered by
|
||||
// the GNU General Public License. This exception does not however
|
||||
// invalidate any other reasons why the executable file might be covered by
|
||||
// the GNU General Public License.
|
||||
|
||||
/** @file include/cstdio
|
||||
* This is a Standard C++ Library file. You should @c #include this file
|
||||
* in your programs, rather than any of the "*.h" implementation files.
|
||||
*
|
||||
* This is the C++ version of the Standard C Library header @c stdio.h,
|
||||
* and its contents are (mostly) the same as that header, but are all
|
||||
* contained in the namespace @c std (except for names which are defined
|
||||
* as macros in C).
|
||||
*/
|
||||
|
||||
//
|
||||
// ISO C++ 14882: 27.8.2 C Library files
|
||||
//
|
||||
|
||||
#pragma GCC system_header
|
||||
|
||||
#include <bits/c++config.h>
|
||||
#include <cstddef>
|
||||
#include_next <stdio.h>
|
||||
|
||||
#ifndef _GLIBCXX_CSTDIO
|
||||
#define _GLIBCXX_CSTDIO 1
|
||||
|
||||
// Get rid of those macros defined in <stdio.h> in lieu of real functions.
|
||||
#undef clearerr
|
||||
#undef fclose
|
||||
#undef feof
|
||||
#undef ferror
|
||||
#undef fflush
|
||||
#undef fgetc
|
||||
#undef fgetpos
|
||||
#undef fgets
|
||||
#undef fopen
|
||||
#undef fprintf
|
||||
#undef fputc
|
||||
#undef fputs
|
||||
#undef fread
|
||||
#undef freopen
|
||||
#undef fscanf
|
||||
#undef fseek
|
||||
#undef fsetpos
|
||||
#undef ftell
|
||||
#undef fwrite
|
||||
#undef getc
|
||||
#undef getchar
|
||||
#undef gets
|
||||
#undef perror
|
||||
#undef printf
|
||||
#undef putc
|
||||
#undef putchar
|
||||
#undef puts
|
||||
#undef remove
|
||||
#undef rename
|
||||
#undef rewind
|
||||
#undef scanf
|
||||
#undef setbuf
|
||||
#undef setvbuf
|
||||
#undef sprintf
|
||||
#undef sscanf
|
||||
#undef tmpfile
|
||||
#undef tmpnam
|
||||
#undef ungetc
|
||||
#undef vfprintf
|
||||
#undef vprintf
|
||||
#undef vsprintf
|
||||
|
||||
_GLIBCXX_BEGIN_NAMESPACE(std)
|
||||
|
||||
using ::FILE;
|
||||
using ::fpos_t;
|
||||
|
||||
using ::clearerr;
|
||||
using ::fclose;
|
||||
using ::feof;
|
||||
using ::ferror;
|
||||
using ::fflush;
|
||||
using ::fgetc;
|
||||
using ::fgetpos;
|
||||
using ::fgets;
|
||||
using ::fopen;
|
||||
using ::fprintf;
|
||||
using ::fputc;
|
||||
using ::fputs;
|
||||
using ::fread;
|
||||
using ::freopen;
|
||||
using ::fscanf;
|
||||
using ::fseek;
|
||||
using ::fsetpos;
|
||||
using ::ftell;
|
||||
using ::fwrite;
|
||||
using ::getc;
|
||||
using ::getchar;
|
||||
using ::gets;
|
||||
using ::perror;
|
||||
using ::printf;
|
||||
using ::putc;
|
||||
using ::putchar;
|
||||
using ::puts;
|
||||
using ::remove;
|
||||
using ::rename;
|
||||
using ::rewind;
|
||||
using ::scanf;
|
||||
using ::setbuf;
|
||||
using ::setvbuf;
|
||||
using ::sprintf;
|
||||
using ::sscanf;
|
||||
using ::tmpfile;
|
||||
using ::tmpnam;
|
||||
using ::ungetc;
|
||||
using ::vfprintf;
|
||||
using ::vprintf;
|
||||
using ::vsprintf;
|
||||
|
||||
_GLIBCXX_END_NAMESPACE
|
||||
|
||||
#if _GLIBCXX_USE_C99
|
||||
|
||||
#undef snprintf
|
||||
#undef vfscanf
|
||||
#undef vscanf
|
||||
#undef vsnprintf
|
||||
#undef vsscanf
|
||||
|
||||
_GLIBCXX_BEGIN_NAMESPACE(__gnu_cxx)
|
||||
|
||||
#if _GLIBCXX_USE_C99_CHECK || _GLIBCXX_USE_C99_DYNAMIC
|
||||
extern "C" int
|
||||
(snprintf)(char * restrict, size_t, const char * restrict, ...);
|
||||
extern "C" int
|
||||
(vfscanf)(FILE * restrict, const char * restrict, __gnuc_va_list);
|
||||
extern "C" int (vscanf)(const char * restrict, __gnuc_va_list);
|
||||
extern "C" int
|
||||
(vsnprintf)(char * restrict, size_t, const char * restrict, __gnuc_va_list);
|
||||
extern "C" int
|
||||
(vsscanf)(const char * restrict, const char * restrict, __gnuc_va_list);
|
||||
#endif
|
||||
|
||||
#if !_GLIBCXX_USE_C99_DYNAMIC
|
||||
using ::snprintf;
|
||||
using ::vfscanf;
|
||||
using ::vscanf;
|
||||
using ::vsnprintf;
|
||||
using ::vsscanf;
|
||||
#endif
|
||||
|
||||
_GLIBCXX_END_NAMESPACE
|
||||
|
||||
_GLIBCXX_BEGIN_NAMESPACE(std)
|
||||
|
||||
using ::__gnu_cxx::snprintf;
|
||||
using ::__gnu_cxx::vfscanf;
|
||||
using ::__gnu_cxx::vscanf;
|
||||
using ::__gnu_cxx::vsnprintf;
|
||||
using ::__gnu_cxx::vsscanf;
|
||||
|
||||
_GLIBCXX_END_NAMESPACE
|
||||
|
||||
#endif // _GLIBCXX_USE_C99
|
||||
|
||||
#ifdef __GXX_EXPERIMENTAL_CXX0X__
|
||||
# include <tr1/cstdio>
|
||||
#endif
|
||||
|
||||
#endif
|
231
libstdc++-v3/include/c_global/cstdlib
Normal file
231
libstdc++-v3/include/c_global/cstdlib
Normal file
@ -0,0 +1,231 @@
|
||||
// -*- C++ -*- forwarding header.
|
||||
|
||||
// Copyright (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006
|
||||
// Free Software Foundation, Inc.
|
||||
//
|
||||
// This file is part of the GNU ISO C++ Library. This library is free
|
||||
// software; you can redistribute it and/or modify it under the
|
||||
// terms of the GNU General Public License as published by the
|
||||
// Free Software Foundation; either version 2, or (at your option)
|
||||
// any later version.
|
||||
|
||||
// This library is distributed in the hope that it will be useful,
|
||||
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
// GNU General Public License for more details.
|
||||
|
||||
// You should have received a copy of the GNU General Public License
|
||||
// along with this library; see the file COPYING. If not, write to
|
||||
// the Free Software Foundation, 51 Franklin Street, Fifth Floor,
|
||||
// Boston, MA 02110-1301, USA.
|
||||
|
||||
// As a special exception, you may use this file as part of a free software
|
||||
// library without restriction. Specifically, if other files instantiate
|
||||
// templates or use macros or inline functions from this file, or you compile
|
||||
// this file and link it with other files to produce an executable, this
|
||||
// file does not by itself cause the resulting executable to be covered by
|
||||
// the GNU General Public License. This exception does not however
|
||||
// invalidate any other reasons why the executable file might be covered by
|
||||
// the GNU General Public License.
|
||||
|
||||
/** @file include/cstdlib
|
||||
* This is a Standard C++ Library file. You should @c #include this file
|
||||
* in your programs, rather than any of the "*.h" implementation files.
|
||||
*
|
||||
* This is the C++ version of the Standard C Library header @c stdlib.h,
|
||||
* and its contents are (mostly) the same as that header, but are all
|
||||
* contained in the namespace @c std (except for names which are defined
|
||||
* as macros in C).
|
||||
*/
|
||||
|
||||
//
|
||||
// ISO C++ 14882: 20.4.6 C library
|
||||
//
|
||||
|
||||
#pragma GCC system_header
|
||||
|
||||
#include <bits/c++config.h>
|
||||
#include <cstddef>
|
||||
|
||||
#ifndef _GLIBCXX_CSTDLIB
|
||||
#define _GLIBCXX_CSTDLIB 1
|
||||
|
||||
#if !_GLIBCXX_HOSTED
|
||||
// The C standard does not require a freestanding implementation to
|
||||
// provide <stdlib.h>. However, the C++ standard does still require
|
||||
// <cstdlib> -- but only the functionality mentioned in
|
||||
// [lib.support.start.term].
|
||||
|
||||
#define EXIT_SUCCESS 0
|
||||
#define EXIT_FAILURE 1
|
||||
|
||||
_GLIBCXX_BEGIN_NAMESPACE(std)
|
||||
|
||||
extern "C" void abort(void);
|
||||
extern "C" int atexit(void (*)());
|
||||
extern "C" void exit(int);
|
||||
|
||||
_GLIBCXX_END_NAMESPACE
|
||||
|
||||
#else
|
||||
|
||||
#include_next <stdlib.h>
|
||||
|
||||
// Get rid of those macros defined in <stdlib.h> in lieu of real functions.
|
||||
#undef abort
|
||||
#undef abs
|
||||
#undef atexit
|
||||
#undef atof
|
||||
#undef atoi
|
||||
#undef atol
|
||||
#undef bsearch
|
||||
#undef calloc
|
||||
#undef div
|
||||
#undef exit
|
||||
#undef free
|
||||
#undef getenv
|
||||
#undef labs
|
||||
#undef ldiv
|
||||
#undef malloc
|
||||
#undef mblen
|
||||
#undef mbstowcs
|
||||
#undef mbtowc
|
||||
#undef qsort
|
||||
#undef rand
|
||||
#undef realloc
|
||||
#undef srand
|
||||
#undef strtod
|
||||
#undef strtol
|
||||
#undef strtoul
|
||||
#undef system
|
||||
#undef wcstombs
|
||||
#undef wctomb
|
||||
|
||||
_GLIBCXX_BEGIN_NAMESPACE(std)
|
||||
|
||||
using ::div_t;
|
||||
using ::ldiv_t;
|
||||
|
||||
using ::abort;
|
||||
using ::abs;
|
||||
using ::atexit;
|
||||
using ::atof;
|
||||
using ::atoi;
|
||||
using ::atol;
|
||||
using ::bsearch;
|
||||
using ::calloc;
|
||||
using ::div;
|
||||
using ::exit;
|
||||
using ::free;
|
||||
using ::getenv;
|
||||
using ::labs;
|
||||
using ::ldiv;
|
||||
using ::malloc;
|
||||
#ifdef _GLIBCXX_HAVE_MBSTATE_T
|
||||
using ::mblen;
|
||||
using ::mbstowcs;
|
||||
using ::mbtowc;
|
||||
#endif // _GLIBCXX_HAVE_MBSTATE_T
|
||||
using ::qsort;
|
||||
using ::rand;
|
||||
using ::realloc;
|
||||
using ::srand;
|
||||
using ::strtod;
|
||||
using ::strtol;
|
||||
using ::strtoul;
|
||||
using ::system;
|
||||
#ifdef _GLIBCXX_USE_WCHAR_T
|
||||
using ::wcstombs;
|
||||
using ::wctomb;
|
||||
#endif // _GLIBCXX_USE_WCHAR_T
|
||||
|
||||
inline long
|
||||
abs(long __i) { return labs(__i); }
|
||||
|
||||
inline ldiv_t
|
||||
div(long __i, long __j) { return ldiv(__i, __j); }
|
||||
|
||||
_GLIBCXX_END_NAMESPACE
|
||||
|
||||
#if _GLIBCXX_USE_C99
|
||||
|
||||
#undef _Exit
|
||||
#undef llabs
|
||||
#undef lldiv
|
||||
#undef atoll
|
||||
#undef strtoll
|
||||
#undef strtoull
|
||||
#undef strtof
|
||||
#undef strtold
|
||||
|
||||
_GLIBCXX_BEGIN_NAMESPACE(__gnu_cxx)
|
||||
|
||||
#if !_GLIBCXX_USE_C99_LONG_LONG_DYNAMIC
|
||||
using ::lldiv_t;
|
||||
#endif
|
||||
#if _GLIBCXX_USE_C99_CHECK || _GLIBCXX_USE_C99_DYNAMIC
|
||||
extern "C" void (_Exit)(int);
|
||||
#endif
|
||||
#if !_GLIBCXX_USE_C99_DYNAMIC
|
||||
using ::_Exit;
|
||||
#endif
|
||||
|
||||
inline long long
|
||||
abs(long long __x) { return __x >= 0 ? __x : -__x; }
|
||||
|
||||
#if !_GLIBCXX_USE_C99_LONG_LONG_DYNAMIC
|
||||
using ::llabs;
|
||||
|
||||
inline lldiv_t
|
||||
div(long long __n, long long __d)
|
||||
{ lldiv_t __q; __q.quot = __n / __d; __q.rem = __n % __d; return __q; }
|
||||
|
||||
using ::lldiv;
|
||||
#endif
|
||||
|
||||
#if _GLIBCXX_USE_C99_LONG_LONG_CHECK || _GLIBCXX_USE_C99_LONG_LONG_DYNAMIC
|
||||
extern "C" long long int (atoll)(const char *);
|
||||
extern "C" long long int
|
||||
(strtoll)(const char * restrict, char ** restrict, int);
|
||||
extern "C" unsigned long long int
|
||||
(strtoull)(const char * restrict, char ** restrict, int);
|
||||
#endif
|
||||
#if !_GLIBCXX_USE_C99_LONG_LONG_DYNAMIC
|
||||
using ::atoll;
|
||||
using ::strtoll;
|
||||
using ::strtoull;
|
||||
#endif
|
||||
using ::strtof;
|
||||
using ::strtold;
|
||||
|
||||
_GLIBCXX_END_NAMESPACE
|
||||
|
||||
_GLIBCXX_BEGIN_NAMESPACE(std)
|
||||
|
||||
#if !_GLIBCXX_USE_C99_LONG_LONG_DYNAMIC
|
||||
using ::__gnu_cxx::lldiv_t;
|
||||
#endif
|
||||
using ::__gnu_cxx::_Exit;
|
||||
using ::__gnu_cxx::abs;
|
||||
#if !_GLIBCXX_USE_C99_LONG_LONG_DYNAMIC
|
||||
using ::__gnu_cxx::llabs;
|
||||
using ::__gnu_cxx::div;
|
||||
using ::__gnu_cxx::lldiv;
|
||||
#endif
|
||||
using ::__gnu_cxx::atoll;
|
||||
using ::__gnu_cxx::strtof;
|
||||
using ::__gnu_cxx::strtoll;
|
||||
using ::__gnu_cxx::strtoull;
|
||||
using ::__gnu_cxx::strtold;
|
||||
|
||||
_GLIBCXX_END_NAMESPACE
|
||||
|
||||
#endif // _GLIBCXX_USE_C99
|
||||
|
||||
#ifdef __GXX_EXPERIMENTAL_CXX0X__
|
||||
# include <tr1/cstdlib>
|
||||
#endif
|
||||
|
||||
#endif // !_GLIBCXX_HOSTED
|
||||
|
||||
#endif
|
130
libstdc++-v3/include/c_global/cstring
Normal file
130
libstdc++-v3/include/c_global/cstring
Normal file
@ -0,0 +1,130 @@
|
||||
// -*- C++ -*- forwarding header.
|
||||
|
||||
// Copyright (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005
|
||||
// Free Software Foundation, Inc.
|
||||
//
|
||||
// This file is part of the GNU ISO C++ Library. This library is free
|
||||
// software; you can redistribute it and/or modify it under the
|
||||
// terms of the GNU General Public License as published by the
|
||||
// Free Software Foundation; either version 2, or (at your option)
|
||||
// any later version.
|
||||
|
||||
// This library is distributed in the hope that it will be useful,
|
||||
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
// GNU General Public License for more details.
|
||||
|
||||
// You should have received a copy of the GNU General Public License
|
||||
// along with this library; see the file COPYING. If not, write to
|
||||
// the Free Software Foundation, 51 Franklin Street, Fifth Floor,
|
||||
// Boston, MA 02110-1301, USA.
|
||||
|
||||
// As a special exception, you may use this file as part of a free software
|
||||
// library without restriction. Specifically, if other files instantiate
|
||||
// templates or use macros or inline functions from this file, or you compile
|
||||
// this file and link it with other files to produce an executable, this
|
||||
// file does not by itself cause the resulting executable to be covered by
|
||||
// the GNU General Public License. This exception does not however
|
||||
// invalidate any other reasons why the executable file might be covered by
|
||||
// the GNU General Public License.
|
||||
|
||||
/** @file cstring
|
||||
* This is a Standard C++ Library file. You should @c #include this file
|
||||
* in your programs, rather than any of the "*.h" implementation files.
|
||||
*
|
||||
* This is the C++ version of the Standard C Library header @c string.h,
|
||||
* and its contents are (mostly) the same as that header, but are all
|
||||
* contained in the namespace @c std (except for names which are defined
|
||||
* as macros in C).
|
||||
*/
|
||||
|
||||
//
|
||||
// ISO C++ 14882: 20.4.6 C library
|
||||
//
|
||||
|
||||
#pragma GCC system_header
|
||||
|
||||
#include <bits/c++config.h>
|
||||
#include <cstddef>
|
||||
#include_next <string.h>
|
||||
|
||||
#ifndef _GLIBCXX_CSTRING
|
||||
#define _GLIBCXX_CSTRING 1
|
||||
|
||||
// Get rid of those macros defined in <string.h> in lieu of real functions.
|
||||
#undef memcpy
|
||||
#undef memmove
|
||||
#undef strcpy
|
||||
#undef strncpy
|
||||
#undef strcat
|
||||
#undef strncat
|
||||
#undef memcmp
|
||||
#undef strcmp
|
||||
#undef strcoll
|
||||
#undef strncmp
|
||||
#undef strxfrm
|
||||
#undef memchr
|
||||
#undef strchr
|
||||
#undef strcspn
|
||||
#undef strpbrk
|
||||
#undef strrchr
|
||||
#undef strspn
|
||||
#undef strstr
|
||||
#undef strtok
|
||||
#undef memset
|
||||
#undef strerror
|
||||
#undef strlen
|
||||
|
||||
_GLIBCXX_BEGIN_NAMESPACE(std)
|
||||
|
||||
using ::memcpy;
|
||||
using ::memmove;
|
||||
using ::strcpy;
|
||||
using ::strncpy;
|
||||
using ::strcat;
|
||||
using ::strncat;
|
||||
using ::memcmp;
|
||||
using ::strcmp;
|
||||
using ::strcoll;
|
||||
using ::strncmp;
|
||||
using ::strxfrm;
|
||||
using ::strcspn;
|
||||
using ::strspn;
|
||||
using ::strtok;
|
||||
using ::memset;
|
||||
using ::strerror;
|
||||
using ::strlen;
|
||||
|
||||
using ::memchr;
|
||||
|
||||
inline void*
|
||||
memchr(void* __p, int __c, size_t __n)
|
||||
{ return memchr(const_cast<const void*>(__p), __c, __n); }
|
||||
|
||||
using ::strchr;
|
||||
|
||||
inline char*
|
||||
strchr(char* __s1, int __n)
|
||||
{ return __builtin_strchr(const_cast<const char*>(__s1), __n); }
|
||||
|
||||
using ::strpbrk;
|
||||
|
||||
inline char*
|
||||
strpbrk(char* __s1, const char* __s2)
|
||||
{ return __builtin_strpbrk(const_cast<const char*>(__s1), __s2); }
|
||||
|
||||
using ::strrchr;
|
||||
|
||||
inline char*
|
||||
strrchr(char* __s1, int __n)
|
||||
{ return __builtin_strrchr(const_cast<const char*>(__s1), __n); }
|
||||
|
||||
using ::strstr;
|
||||
|
||||
inline char*
|
||||
strstr(char* __s1, const char* __s2)
|
||||
{ return __builtin_strstr(const_cast<const char*>(__s1), __s2); }
|
||||
|
||||
_GLIBCXX_END_NAMESPACE
|
||||
|
||||
#endif
|
46
libstdc++-v3/include/c_global/ctgmath
Normal file
46
libstdc++-v3/include/c_global/ctgmath
Normal file
@ -0,0 +1,46 @@
|
||||
// <ctgmath> -*- C++ -*-
|
||||
|
||||
// Copyright (C) 2007 Free Software Foundation, Inc.
|
||||
//
|
||||
// This file is part of the GNU ISO C++ Library. This library is free
|
||||
// software; you can redistribute it and/or modify it under the
|
||||
// terms of the GNU General Public License as published by the
|
||||
// Free Software Foundation; either version 2, or (at your option)
|
||||
// any later version.
|
||||
|
||||
// This library is distributed in the hope that it will be useful,
|
||||
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
// GNU General Public License for more details.
|
||||
|
||||
// You should have received a copy of the GNU General Public License
|
||||
// along with this library; see the file COPYING. If not, write to
|
||||
// the Free Software Foundation, 51 Franklin Street, Fifth Floor,
|
||||
// Boston, MA 02110-1301, USA.
|
||||
|
||||
// As a special exception, you may use this file as part of a free software
|
||||
// library without restriction. Specifically, if other files instantiate
|
||||
// templates or use macros or inline functions from this file, or you compile
|
||||
// this file and link it with other files to produce an executable, this
|
||||
// file does not by itself cause the resulting executable to be covered by
|
||||
// the GNU General Public License. This exception does not however
|
||||
// invalidate any other reasons why the executable file might be covered by
|
||||
// the GNU General Public License.
|
||||
|
||||
/** @file include/ctgmath
|
||||
* This is a Standard C++ Library header.
|
||||
*/
|
||||
|
||||
#pragma GCC system_header
|
||||
|
||||
#ifndef _GLIBCXX_CTGMATH
|
||||
#define _GLIBCXX_CTGMATH 1
|
||||
|
||||
#ifdef __GXX_EXPERIMENTAL_CXX0X__
|
||||
# include <tr1/ctgmath>
|
||||
#else
|
||||
# include <c++0x_warning.h>
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
86
libstdc++-v3/include/c_global/ctime
Normal file
86
libstdc++-v3/include/c_global/ctime
Normal file
@ -0,0 +1,86 @@
|
||||
// -*- C++ -*- forwarding header.
|
||||
|
||||
// Copyright (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006
|
||||
// Free Software Foundation, Inc.
|
||||
//
|
||||
// This file is part of the GNU ISO C++ Library. This library is free
|
||||
// software; you can redistribute it and/or modify it under the
|
||||
// terms of the GNU General Public License as published by the
|
||||
// Free Software Foundation; either version 2, or (at your option)
|
||||
// any later version.
|
||||
|
||||
// This library is distributed in the hope that it will be useful,
|
||||
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
// GNU General Public License for more details.
|
||||
|
||||
// You should have received a copy of the GNU General Public License
|
||||
// along with this library; see the file COPYING. If not, write to
|
||||
// the Free Software Foundation, 51 Franklin Street, Fifth Floor,
|
||||
// Boston, MA 02110-1301, USA.
|
||||
|
||||
// As a special exception, you may use this file as part of a free software
|
||||
// library without restriction. Specifically, if other files instantiate
|
||||
// templates or use macros or inline functions from this file, or you compile
|
||||
// this file and link it with other files to produce an executable, this
|
||||
// file does not by itself cause the resulting executable to be covered by
|
||||
// the GNU General Public License. This exception does not however
|
||||
// invalidate any other reasons why the executable file might be covered by
|
||||
// the GNU General Public License.
|
||||
|
||||
/** @file include/ctime
|
||||
* This is a Standard C++ Library file. You should @c #include this file
|
||||
* in your programs, rather than any of the "*.h" implementation files.
|
||||
*
|
||||
* This is the C++ version of the Standard C Library header @c time.h,
|
||||
* and its contents are (mostly) the same as that header, but are all
|
||||
* contained in the namespace @c std (except for names which are defined
|
||||
* as macros in C).
|
||||
*/
|
||||
|
||||
//
|
||||
// ISO C++ 14882: 20.5 Date and time
|
||||
//
|
||||
|
||||
#pragma GCC system_header
|
||||
|
||||
#include <cstddef>
|
||||
#include_next <time.h>
|
||||
|
||||
#ifndef _GLIBCXX_CTIME
|
||||
#define _GLIBCXX_CTIME 1
|
||||
|
||||
// Get rid of those macros defined in <time.h> in lieu of real functions.
|
||||
#undef clock
|
||||
#undef difftime
|
||||
#undef mktime
|
||||
#undef time
|
||||
#undef asctime
|
||||
#undef ctime
|
||||
#undef gmtime
|
||||
#undef localtime
|
||||
#undef strftime
|
||||
|
||||
_GLIBCXX_BEGIN_NAMESPACE(std)
|
||||
|
||||
using ::clock_t;
|
||||
using ::time_t;
|
||||
using ::tm;
|
||||
|
||||
using ::clock;
|
||||
using ::difftime;
|
||||
using ::mktime;
|
||||
using ::time;
|
||||
using ::asctime;
|
||||
using ::ctime;
|
||||
using ::gmtime;
|
||||
using ::localtime;
|
||||
using ::strftime;
|
||||
|
||||
_GLIBCXX_END_NAMESPACE
|
||||
|
||||
#ifdef __GXX_EXPERIMENTAL_CXX0X__
|
||||
# include <tr1/ctime>
|
||||
#endif
|
||||
|
||||
#endif
|
284
libstdc++-v3/include/c_global/cwchar
Normal file
284
libstdc++-v3/include/c_global/cwchar
Normal file
@ -0,0 +1,284 @@
|
||||
// -*- C++ -*- forwarding header.
|
||||
|
||||
// Copyright (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006
|
||||
// Free Software Foundation, Inc.
|
||||
//
|
||||
// This file is part of the GNU ISO C++ Library. This library is free
|
||||
// software; you can redistribute it and/or modify it under the
|
||||
// terms of the GNU General Public License as published by the
|
||||
// Free Software Foundation; either version 2, or (at your option)
|
||||
// any later version.
|
||||
|
||||
// This library is distributed in the hope that it will be useful,
|
||||
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
// GNU General Public License for more details.
|
||||
|
||||
// You should have received a copy of the GNU General Public License
|
||||
// along with this library; see the file COPYING. If not, write to
|
||||
// the Free Software Foundation, 51 Franklin Street, Fifth Floor,
|
||||
// Boston, MA 02110-1301, USA.
|
||||
|
||||
// As a special exception, you may use this file as part of a free software
|
||||
// library without restriction. Specifically, if other files instantiate
|
||||
// templates or use macros or inline functions from this file, or you compile
|
||||
// this file and link it with other files to produce an executable, this
|
||||
// file does not by itself cause the resulting executable to be covered by
|
||||
// the GNU General Public License. This exception does not however
|
||||
// invalidate any other reasons why the executable file might be covered by
|
||||
// the GNU General Public License.
|
||||
|
||||
/** @file include/cwchar
|
||||
* This is a Standard C++ Library file. You should @c #include this file
|
||||
* in your programs, rather than any of the "*.h" implementation files.
|
||||
*
|
||||
* This is the C++ version of the Standard C Library header @c wchar.h,
|
||||
* and its contents are (mostly) the same as that header, but are all
|
||||
* contained in the namespace @c std (except for names which are defined
|
||||
* as macros in C).
|
||||
*/
|
||||
|
||||
//
|
||||
// ISO C++ 14882: 21.4
|
||||
//
|
||||
|
||||
#pragma GCC system_header
|
||||
|
||||
#include <bits/c++config.h>
|
||||
#include <cstddef>
|
||||
#include <ctime>
|
||||
|
||||
#if _GLIBCXX_HAVE_WCHAR_H
|
||||
#include_next <wchar.h>
|
||||
#endif
|
||||
|
||||
#ifndef _GLIBCXX_CWCHAR
|
||||
#define _GLIBCXX_CWCHAR 1
|
||||
|
||||
// Need to do a bit of trickery here with mbstate_t as char_traits
|
||||
// assumes it is in wchar.h, regardless of wchar_t specializations.
|
||||
#ifndef _GLIBCXX_HAVE_MBSTATE_T
|
||||
extern "C"
|
||||
{
|
||||
typedef struct
|
||||
{
|
||||
int __fill[6];
|
||||
} mbstate_t;
|
||||
}
|
||||
#endif
|
||||
|
||||
_GLIBCXX_BEGIN_NAMESPACE(std)
|
||||
|
||||
using ::mbstate_t;
|
||||
|
||||
_GLIBCXX_END_NAMESPACE
|
||||
|
||||
// Get rid of those macros defined in <wchar.h> in lieu of real functions.
|
||||
#undef btowc
|
||||
#undef fgetwc
|
||||
#undef fgetws
|
||||
#undef fputwc
|
||||
#undef fputws
|
||||
#undef fwide
|
||||
#undef fwprintf
|
||||
#undef fwscanf
|
||||
#undef getwc
|
||||
#undef getwchar
|
||||
#undef mbrlen
|
||||
#undef mbrtowc
|
||||
#undef mbsinit
|
||||
#undef mbsrtowcs
|
||||
#undef putwc
|
||||
#undef putwchar
|
||||
#undef swprintf
|
||||
#undef swscanf
|
||||
#undef ungetwc
|
||||
#undef vfwprintf
|
||||
#if _GLIBCXX_HAVE_VFWSCANF
|
||||
# undef vfwscanf
|
||||
#endif
|
||||
#undef vswprintf
|
||||
#if _GLIBCXX_HAVE_VSWSCANF
|
||||
# undef vswscanf
|
||||
#endif
|
||||
#undef vwprintf
|
||||
#if _GLIBCXX_HAVE_VWSCANF
|
||||
# undef vwscanf
|
||||
#endif
|
||||
#undef wcrtomb
|
||||
#undef wcscat
|
||||
#undef wcschr
|
||||
#undef wcscmp
|
||||
#undef wcscoll
|
||||
#undef wcscpy
|
||||
#undef wcscspn
|
||||
#undef wcsftime
|
||||
#undef wcslen
|
||||
#undef wcsncat
|
||||
#undef wcsncmp
|
||||
#undef wcsncpy
|
||||
#undef wcspbrk
|
||||
#undef wcsrchr
|
||||
#undef wcsrtombs
|
||||
#undef wcsspn
|
||||
#undef wcsstr
|
||||
#undef wcstod
|
||||
#if _GLIBCXX_HAVE_WCSTOF
|
||||
# undef wcstof
|
||||
#endif
|
||||
#undef wcstok
|
||||
#undef wcstol
|
||||
#undef wcstoul
|
||||
#undef wcsxfrm
|
||||
#undef wctob
|
||||
#undef wmemchr
|
||||
#undef wmemcmp
|
||||
#undef wmemcpy
|
||||
#undef wmemmove
|
||||
#undef wmemset
|
||||
#undef wprintf
|
||||
#undef wscanf
|
||||
|
||||
#if _GLIBCXX_USE_WCHAR_T
|
||||
|
||||
_GLIBCXX_BEGIN_NAMESPACE(std)
|
||||
|
||||
using ::wint_t;
|
||||
|
||||
using ::btowc;
|
||||
using ::fgetwc;
|
||||
using ::fgetws;
|
||||
using ::fputwc;
|
||||
using ::fputws;
|
||||
using ::fwide;
|
||||
using ::fwprintf;
|
||||
using ::fwscanf;
|
||||
using ::getwc;
|
||||
using ::getwchar;
|
||||
using ::mbrlen;
|
||||
using ::mbrtowc;
|
||||
using ::mbsinit;
|
||||
using ::mbsrtowcs;
|
||||
using ::putwc;
|
||||
using ::putwchar;
|
||||
using ::swprintf;
|
||||
using ::swscanf;
|
||||
using ::ungetwc;
|
||||
using ::vfwprintf;
|
||||
#if _GLIBCXX_HAVE_VFWSCANF
|
||||
using ::vfwscanf;
|
||||
#endif
|
||||
using ::vswprintf;
|
||||
#if _GLIBCXX_HAVE_VSWSCANF
|
||||
using ::vswscanf;
|
||||
#endif
|
||||
using ::vwprintf;
|
||||
#if _GLIBCXX_HAVE_VWSCANF
|
||||
using ::vwscanf;
|
||||
#endif
|
||||
using ::wcrtomb;
|
||||
using ::wcscat;
|
||||
using ::wcscmp;
|
||||
using ::wcscoll;
|
||||
using ::wcscpy;
|
||||
using ::wcscspn;
|
||||
using ::wcsftime;
|
||||
using ::wcslen;
|
||||
using ::wcsncat;
|
||||
using ::wcsncmp;
|
||||
using ::wcsncpy;
|
||||
using ::wcsrtombs;
|
||||
using ::wcsspn;
|
||||
using ::wcstod;
|
||||
#if _GLIBCXX_HAVE_WCSTOF
|
||||
using ::wcstof;
|
||||
#endif
|
||||
using ::wcstok;
|
||||
using ::wcstol;
|
||||
using ::wcstoul;
|
||||
using ::wcsxfrm;
|
||||
using ::wctob;
|
||||
using ::wmemcmp;
|
||||
using ::wmemcpy;
|
||||
using ::wmemmove;
|
||||
using ::wmemset;
|
||||
using ::wprintf;
|
||||
using ::wscanf;
|
||||
|
||||
using ::wcschr;
|
||||
|
||||
inline wchar_t*
|
||||
wcschr(wchar_t* __p, wchar_t __c)
|
||||
{ return wcschr(const_cast<const wchar_t*>(__p), __c); }
|
||||
|
||||
using ::wcspbrk;
|
||||
|
||||
inline wchar_t*
|
||||
wcspbrk(wchar_t* __s1, const wchar_t* __s2)
|
||||
{ return wcspbrk(const_cast<const wchar_t*>(__s1), __s2); }
|
||||
|
||||
using ::wcsrchr;
|
||||
|
||||
inline wchar_t*
|
||||
wcsrchr(wchar_t* __p, wchar_t __c)
|
||||
{ return wcsrchr(const_cast<const wchar_t*>(__p), __c); }
|
||||
|
||||
using ::wcsstr;
|
||||
|
||||
inline wchar_t*
|
||||
wcsstr(wchar_t* __s1, const wchar_t* __s2)
|
||||
{ return wcsstr(const_cast<const wchar_t*>(__s1), __s2); }
|
||||
|
||||
using ::wmemchr;
|
||||
|
||||
inline wchar_t*
|
||||
wmemchr(wchar_t* __p, wchar_t __c, size_t __n)
|
||||
{ return wmemchr(const_cast<const wchar_t*>(__p), __c, __n); }
|
||||
|
||||
_GLIBCXX_END_NAMESPACE
|
||||
|
||||
#if _GLIBCXX_USE_C99
|
||||
|
||||
#undef wcstold
|
||||
#undef wcstoll
|
||||
#undef wcstoull
|
||||
|
||||
_GLIBCXX_BEGIN_NAMESPACE(__gnu_cxx)
|
||||
|
||||
#if _GLIBCXX_USE_C99_CHECK || _GLIBCXX_USE_C99_DYNAMIC
|
||||
extern "C" long double
|
||||
(wcstold)(const wchar_t * restrict, wchar_t ** restrict);
|
||||
#endif
|
||||
#if !_GLIBCXX_USE_C99_DYNAMIC
|
||||
using ::wcstold;
|
||||
#endif
|
||||
#if _GLIBCXX_USE_C99_LONG_LONG_CHECK || _GLIBCXX_USE_C99_LONG_LONG_DYNAMIC
|
||||
extern "C" long long int
|
||||
(wcstoll)(const wchar_t * restrict, wchar_t ** restrict, int);
|
||||
extern "C" unsigned long long int
|
||||
(wcstoull)(const wchar_t * restrict, wchar_t ** restrict, int);
|
||||
#endif
|
||||
#if !_GLIBCXX_USE_C99_LONG_LONG_DYNAMIC
|
||||
using ::wcstoll;
|
||||
using ::wcstoull;
|
||||
#endif
|
||||
|
||||
_GLIBCXX_END_NAMESPACE
|
||||
|
||||
_GLIBCXX_BEGIN_NAMESPACE(std)
|
||||
|
||||
using ::__gnu_cxx::wcstold;
|
||||
using ::__gnu_cxx::wcstoll;
|
||||
using ::__gnu_cxx::wcstoull;
|
||||
|
||||
_GLIBCXX_END_NAMESPACE
|
||||
|
||||
#endif
|
||||
|
||||
#endif //_GLIBCXX_USE_WCHAR_T
|
||||
|
||||
#ifdef __GXX_EXPERIMENTAL_CXX0X__
|
||||
# include <tr1/cwchar>
|
||||
#endif
|
||||
|
||||
#endif
|
116
libstdc++-v3/include/c_global/cwctype
Normal file
116
libstdc++-v3/include/c_global/cwctype
Normal file
@ -0,0 +1,116 @@
|
||||
// -*- C++ -*- forwarding header.
|
||||
|
||||
// Copyright (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006
|
||||
// Free Software Foundation, Inc.
|
||||
//
|
||||
// This file is part of the GNU ISO C++ Library. This library is free
|
||||
// software; you can redistribute it and/or modify it under the
|
||||
// terms of the GNU General Public License as published by the
|
||||
// Free Software Foundation; either version 2, or (at your option)
|
||||
// any later version.
|
||||
|
||||
// This library is distributed in the hope that it will be useful,
|
||||
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
// GNU General Public License for more details.
|
||||
|
||||
// You should have received a copy of the GNU General Public License
|
||||
// along with this library; see the file COPYING. If not, write to
|
||||
// the Free Software Foundation, 51 Franklin Street, Fifth Floor,
|
||||
// Boston, MA 02110-1301, USA.
|
||||
|
||||
// As a special exception, you may use this file as part of a free software
|
||||
// library without restriction. Specifically, if other files instantiate
|
||||
// templates or use macros or inline functions from this file, or you compile
|
||||
// this file and link it with other files to produce an executable, this
|
||||
// file does not by itself cause the resulting executable to be covered by
|
||||
// the GNU General Public License. This exception does not however
|
||||
// invalidate any other reasons why the executable file might be covered by
|
||||
// the GNU General Public License.
|
||||
|
||||
/** @file include/cwctype
|
||||
* This is a Standard C++ Library file. You should @c #include this file
|
||||
* in your programs, rather than any of the "*.h" implementation files.
|
||||
*
|
||||
* This is the C++ version of the Standard C Library header @c wctype.h,
|
||||
* and its contents are (mostly) the same as that header, but are all
|
||||
* contained in the namespace @c std (except for names which are defined
|
||||
* as macros in C).
|
||||
*/
|
||||
|
||||
//
|
||||
// ISO C++ 14882: <cwctype>
|
||||
//
|
||||
|
||||
#pragma GCC system_header
|
||||
|
||||
#include <bits/c++config.h>
|
||||
|
||||
#if _GLIBCXX_HAVE_WCTYPE_H
|
||||
#include_next <wctype.h>
|
||||
#endif
|
||||
|
||||
#ifndef _GLIBCXX_CWCTYPE
|
||||
#define _GLIBCXX_CWCTYPE 1
|
||||
|
||||
// Get rid of those macros defined in <wctype.h> in lieu of real functions.
|
||||
#undef iswalnum
|
||||
#undef iswalpha
|
||||
#if _GLIBCXX_HAVE_ISWBLANK
|
||||
# undef iswblank
|
||||
#endif
|
||||
#undef iswcntrl
|
||||
#undef iswctype
|
||||
#undef iswdigit
|
||||
#undef iswgraph
|
||||
#undef iswlower
|
||||
#undef iswprint
|
||||
#undef iswpunct
|
||||
#undef iswspace
|
||||
#undef iswupper
|
||||
#undef iswxdigit
|
||||
#undef towctrans
|
||||
#undef towlower
|
||||
#undef towupper
|
||||
#undef wctrans
|
||||
#undef wctype
|
||||
|
||||
#if _GLIBCXX_USE_WCHAR_T
|
||||
|
||||
_GLIBCXX_BEGIN_NAMESPACE(std)
|
||||
|
||||
using ::wint_t; // cwchar
|
||||
|
||||
using ::wctype_t;
|
||||
using ::wctrans_t;
|
||||
|
||||
using ::iswalnum;
|
||||
using ::iswalpha;
|
||||
#if _GLIBCXX_HAVE_ISWBLANK
|
||||
using ::iswblank;
|
||||
#endif
|
||||
using ::iswcntrl;
|
||||
using ::iswctype;
|
||||
using ::iswdigit;
|
||||
using ::iswgraph;
|
||||
using ::iswlower;
|
||||
using ::iswprint;
|
||||
using ::iswpunct;
|
||||
using ::iswspace;
|
||||
using ::iswupper;
|
||||
using ::iswxdigit;
|
||||
using ::towctrans;
|
||||
using ::towlower;
|
||||
using ::towupper;
|
||||
using ::wctrans;
|
||||
using ::wctype;
|
||||
|
||||
_GLIBCXX_END_NAMESPACE
|
||||
|
||||
#endif //_GLIBCXX_USE_WCHAR_T
|
||||
|
||||
#ifdef __GXX_EXPERIMENTAL_CXX0X__
|
||||
# include <tr1/cwctype>
|
||||
#endif
|
||||
|
||||
#endif
|
@ -14,10 +14,10 @@
|
||||
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
// GNU General Public License for more details.
|
||||
|
||||
// You should have received a copy of the GNU General Public License along
|
||||
// with this library; see the file COPYING. If not, write to the Free
|
||||
// Software Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301,
|
||||
// USA.
|
||||
// You should have received a copy of the GNU General Public License
|
||||
// along with this library; see the file COPYING. If not, write to
|
||||
// the Free Software Foundation, 51 Franklin Street, Fifth Floor,
|
||||
// Boston, MA 02110-1301, USA.
|
||||
|
||||
// As a special exception, you may use this file as part of a free software
|
||||
// library without restriction. Specifically, if other files instantiate
|
||||
|
46
libstdc++-v3/include/std/array
Normal file
46
libstdc++-v3/include/std/array
Normal file
@ -0,0 +1,46 @@
|
||||
// <array> -*- C++ -*-
|
||||
|
||||
// Copyright (C) 2007 Free Software Foundation, Inc.
|
||||
//
|
||||
// This file is part of the GNU ISO C++ Library. This library is free
|
||||
// software; you can redistribute it and/or modify it under the
|
||||
// terms of the GNU General Public License as published by the
|
||||
// Free Software Foundation; either version 2, or (at your option)
|
||||
// any later version.
|
||||
|
||||
// This library is distributed in the hope that it will be useful,
|
||||
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
// GNU General Public License for more details.
|
||||
|
||||
// You should have received a copy of the GNU General Public License
|
||||
// along with this library; see the file COPYING. If not, write to
|
||||
// the Free Software Foundation, 51 Franklin Street, Fifth Floor,
|
||||
// Boston, MA 02110-1301, USA.
|
||||
|
||||
// As a special exception, you may use this file as part of a free software
|
||||
// library without restriction. Specifically, if other files instantiate
|
||||
// templates or use macros or inline functions from this file, or you compile
|
||||
// this file and link it with other files to produce an executable, this
|
||||
// file does not by itself cause the resulting executable to be covered by
|
||||
// the GNU General Public License. This exception does not however
|
||||
// invalidate any other reasons why the executable file might be covered by
|
||||
// the GNU General Public License.
|
||||
|
||||
/** @file include/array
|
||||
* This is a Standard C++ Library header.
|
||||
*/
|
||||
|
||||
#ifndef _GLIBCXX_ARRAY
|
||||
#define _GLIBCXX_ARRAY 1
|
||||
|
||||
#pragma GCC system_header
|
||||
|
||||
#ifdef __GXX_EXPERIMENTAL_CXX0X__
|
||||
# include <tr1/array>
|
||||
#else
|
||||
# include <c++0x_warning.h>
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
@ -14,10 +14,10 @@
|
||||
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
// GNU General Public License for more details.
|
||||
|
||||
// You should have received a copy of the GNU General Public License along
|
||||
// with this library; see the file COPYING. If not, write to the Free
|
||||
// Software Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301,
|
||||
// USA.
|
||||
// You should have received a copy of the GNU General Public License
|
||||
// along with this library; see the file COPYING. If not, write to
|
||||
// the Free Software Foundation, 51 Franklin Street, Fifth Floor,
|
||||
// Boston, MA 02110-1301, USA.
|
||||
|
||||
// As a special exception, you may use this file as part of a free software
|
||||
// library without restriction. Specifically, if other files instantiate
|
||||
|
41
libstdc++-v3/include/std/c++0x_warning.h
Normal file
41
libstdc++-v3/include/std/c++0x_warning.h
Normal file
@ -0,0 +1,41 @@
|
||||
// Copyright (C) 2007 Free Software Foundation, Inc.
|
||||
//
|
||||
// This file is part of the GNU ISO C++ Library. This library is free
|
||||
// software; you can redistribute it and/or modify it under the
|
||||
// terms of the GNU General Public License as published by the
|
||||
// Free Software Foundation; either version 2, or (at your option)
|
||||
// any later version.
|
||||
|
||||
// This library is distributed in the hope that it will be useful,
|
||||
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
// GNU General Public License for more details.
|
||||
|
||||
// You should have received a copy of the GNU General Public License
|
||||
// along with this library; see the file COPYING. If not, write to
|
||||
// the Free Software Foundation, 51 Franklin Street, Fifth Floor,
|
||||
// Boston, MA 02110-1301, USA.
|
||||
|
||||
// As a special exception, you may use this file as part of a free software
|
||||
// library without restriction. Specifically, if other files instantiate
|
||||
// templates or use macros or inline functions from this file, or you compile
|
||||
// this file and link it with other files to produce an executable, this
|
||||
// file does not by itself cause the resulting executable to be covered by
|
||||
// the GNU General Public License. This exception does not however
|
||||
// invalidate any other reasons why the executable file might be covered by
|
||||
// the GNU General Public License.
|
||||
|
||||
/** @file include/c++0x_warning.h
|
||||
* This is a Standard C++ Library header.
|
||||
*/
|
||||
|
||||
#ifndef _CXX0X_WARNING_H
|
||||
#define _CXX0X_WARNING_H 1
|
||||
|
||||
#ifndef __GXX_EXPERIMENTAL_CXX0X__
|
||||
#error This file requires compiler and library support for the upcoming \
|
||||
ISO C++ standard, C++0x. This support is currently experimental, and must be \
|
||||
enabled with the -std=c++0x or -std=gnu++0x compiler options.
|
||||
#endif
|
||||
|
||||
#endif
|
@ -1,6 +1,6 @@
|
||||
// The template and inlines for the -*- C++ -*- complex number classes.
|
||||
|
||||
// Copyright (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005
|
||||
// Copyright (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006
|
||||
// Free Software Foundation, Inc.
|
||||
//
|
||||
// This file is part of the GNU ISO C++ Library. This library is free
|
||||
@ -14,10 +14,10 @@
|
||||
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
// GNU General Public License for more details.
|
||||
|
||||
// You should have received a copy of the GNU General Public License along
|
||||
// with this library; see the file COPYING. If not, write to the Free
|
||||
// Software Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301,
|
||||
// USA.
|
||||
// You should have received a copy of the GNU General Public License
|
||||
// along with this library; see the file COPYING. If not, write to
|
||||
// the Free Software Foundation, 51 Franklin Street, Fifth Floor,
|
||||
// Boston, MA 02110-1301, USA.
|
||||
|
||||
// As a special exception, you may use this file as part of a free software
|
||||
// library without restriction. Specifically, if other files instantiate
|
||||
@ -1486,4 +1486,8 @@ _GLIBCXX_BEGIN_NAMESPACE(std)
|
||||
|
||||
_GLIBCXX_END_NAMESPACE
|
||||
|
||||
#ifdef __GXX_EXPERIMENTAL_CXX0X__
|
||||
# include <tr1/complex>
|
||||
#endif
|
||||
|
||||
#endif /* _GLIBCXX_COMPLEX */
|
||||
|
@ -14,10 +14,10 @@
|
||||
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
// GNU General Public License for more details.
|
||||
|
||||
// You should have received a copy of the GNU General Public License along
|
||||
// with this library; see the file COPYING. If not, write to the Free
|
||||
// Software Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301,
|
||||
// USA.
|
||||
// You should have received a copy of the GNU General Public License
|
||||
// along with this library; see the file COPYING. If not, write to
|
||||
// the Free Software Foundation, 51 Franklin Street, Fifth Floor,
|
||||
// Boston, MA 02110-1301, USA.
|
||||
|
||||
// As a special exception, you may use this file as part of a free software
|
||||
// library without restriction. Specifically, if other files instantiate
|
||||
|
@ -14,10 +14,10 @@
|
||||
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
// GNU General Public License for more details.
|
||||
|
||||
// You should have received a copy of the GNU General Public License along
|
||||
// with this library; see the file COPYING. If not, write to the Free
|
||||
// Software Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301,
|
||||
// USA.
|
||||
// You should have received a copy of the GNU General Public License
|
||||
// along with this library; see the file COPYING. If not, write to
|
||||
// the Free Software Foundation, 51 Franklin Street, Fifth Floor,
|
||||
// Boston, MA 02110-1301, USA.
|
||||
|
||||
// As a special exception, you may use this file as part of a free software
|
||||
// library without restriction. Specifically, if other files instantiate
|
||||
|
@ -14,10 +14,10 @@
|
||||
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
// GNU General Public License for more details.
|
||||
|
||||
// You should have received a copy of the GNU General Public License along
|
||||
// with this library; see the file COPYING. If not, write to the Free
|
||||
// Software Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301,
|
||||
// USA.
|
||||
// You should have received a copy of the GNU General Public License
|
||||
// along with this library; see the file COPYING. If not, write to
|
||||
// the Free Software Foundation, 51 Franklin Street, Fifth Floor,
|
||||
// Boston, MA 02110-1301, USA.
|
||||
|
||||
// As a special exception, you may use this file as part of a free software
|
||||
// library without restriction. Specifically, if other files instantiate
|
||||
@ -54,4 +54,8 @@
|
||||
#include <bits/c++config.h>
|
||||
#include <bits/stl_function.h>
|
||||
|
||||
#ifdef __GXX_EXPERIMENTAL_CXX0X__
|
||||
# include <tr1/functional>
|
||||
#endif
|
||||
|
||||
#endif /* _GLIBCXX_FUNCTIONAL */
|
||||
|
@ -15,10 +15,10 @@
|
||||
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
// GNU General Public License for more details.
|
||||
|
||||
// You should have received a copy of the GNU General Public License along
|
||||
// with this library; see the file COPYING. If not, write to the Free
|
||||
// Software Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301,
|
||||
// USA.
|
||||
// You should have received a copy of the GNU General Public License
|
||||
// along with this library; see the file COPYING. If not, write to
|
||||
// the Free Software Foundation, 51 Franklin Street, Fifth Floor,
|
||||
// Boston, MA 02110-1301, USA.
|
||||
|
||||
// As a special exception, you may use this file as part of a free software
|
||||
// library without restriction. Specifically, if other files instantiate
|
||||
|
@ -13,10 +13,10 @@
|
||||
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
// GNU General Public License for more details.
|
||||
|
||||
// You should have received a copy of the GNU General Public License along
|
||||
// with this library; see the file COPYING. If not, write to the Free
|
||||
// Software Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301,
|
||||
// USA.
|
||||
// You should have received a copy of the GNU General Public License
|
||||
// along with this library; see the file COPYING. If not, write to
|
||||
// the Free Software Foundation, 51 Franklin Street, Fifth Floor,
|
||||
// Boston, MA 02110-1301, USA.
|
||||
|
||||
// As a special exception, you may use this file as part of a free software
|
||||
// library without restriction. Specifically, if other files instantiate
|
||||
|
@ -15,10 +15,10 @@
|
||||
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
// GNU General Public License for more details.
|
||||
|
||||
// You should have received a copy of the GNU General Public License along
|
||||
// with this library; see the file COPYING. If not, write to the Free
|
||||
// Software Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301,
|
||||
// USA.
|
||||
// You should have received a copy of the GNU General Public License
|
||||
// along with this library; see the file COPYING. If not, write to
|
||||
// the Free Software Foundation, 51 Franklin Street, Fifth Floor,
|
||||
// Boston, MA 02110-1301, USA.
|
||||
|
||||
// As a special exception, you may use this file as part of a free software
|
||||
// library without restriction. Specifically, if other files instantiate
|
||||
|
@ -14,10 +14,10 @@
|
||||
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
// GNU General Public License for more details.
|
||||
|
||||
// You should have received a copy of the GNU General Public License along
|
||||
// with this library; see the file COPYING. If not, write to the Free
|
||||
// Software Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301,
|
||||
// USA.
|
||||
// You should have received a copy of the GNU General Public License
|
||||
// along with this library; see the file COPYING. If not, write to
|
||||
// the Free Software Foundation, 51 Franklin Street, Fifth Floor,
|
||||
// Boston, MA 02110-1301, USA.
|
||||
|
||||
// As a special exception, you may use this file as part of a free software
|
||||
// library without restriction. Specifically, if other files instantiate
|
||||
|
@ -15,10 +15,10 @@
|
||||
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
// GNU General Public License for more details.
|
||||
|
||||
// You should have received a copy of the GNU General Public License along
|
||||
// with this library; see the file COPYING. If not, write to the Free
|
||||
// Software Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301,
|
||||
// USA.
|
||||
// You should have received a copy of the GNU General Public License
|
||||
// along with this library; see the file COPYING. If not, write to
|
||||
// the Free Software Foundation, 51 Franklin Street, Fifth Floor,
|
||||
// Boston, MA 02110-1301, USA.
|
||||
|
||||
// As a special exception, you may use this file as part of a free software
|
||||
// library without restriction. Specifically, if other files instantiate
|
||||
|
@ -13,10 +13,10 @@
|
||||
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
// GNU General Public License for more details.
|
||||
|
||||
// You should have received a copy of the GNU General Public License along
|
||||
// with this library; see the file COPYING. If not, write to the Free
|
||||
// Software Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301,
|
||||
// USA.
|
||||
// You should have received a copy of the GNU General Public License
|
||||
// along with this library; see the file COPYING. If not, write to
|
||||
// the Free Software Foundation, 51 Franklin Street, Fifth Floor,
|
||||
// Boston, MA 02110-1301, USA.
|
||||
|
||||
// As a special exception, you may use this file as part of a free software
|
||||
// library without restriction. Specifically, if other files instantiate
|
||||
|
@ -14,10 +14,10 @@
|
||||
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
// GNU General Public License for more details.
|
||||
|
||||
// You should have received a copy of the GNU General Public License along
|
||||
// with this library; see the file COPYING. If not, write to the Free
|
||||
// Software Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301,
|
||||
// USA.
|
||||
// You should have received a copy of the GNU General Public License
|
||||
// along with this library; see the file COPYING. If not, write to
|
||||
// the Free Software Foundation, 51 Franklin Street, Fifth Floor,
|
||||
// Boston, MA 02110-1301, USA.
|
||||
|
||||
// As a special exception, you may use this file as part of a free software
|
||||
// library without restriction. Specifically, if other files instantiate
|
||||
|
@ -14,10 +14,10 @@
|
||||
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
// GNU General Public License for more details.
|
||||
|
||||
// You should have received a copy of the GNU General Public License along
|
||||
// with this library; see the file COPYING. If not, write to the Free
|
||||
// Software Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301,
|
||||
// USA.
|
||||
// You should have received a copy of the GNU General Public License
|
||||
// along with this library; see the file COPYING. If not, write to
|
||||
// the Free Software Foundation, 51 Franklin Street, Fifth Floor,
|
||||
// Boston, MA 02110-1301, USA.
|
||||
|
||||
// As a special exception, you may use this file as part of a free software
|
||||
// library without restriction. Specifically, if other files instantiate
|
||||
|
@ -13,10 +13,10 @@
|
||||
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
// GNU General Public License for more details.
|
||||
|
||||
// You should have received a copy of the GNU General Public License along
|
||||
// with this library; see the file COPYING. If not, write to the Free
|
||||
// Software Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301,
|
||||
// USA.
|
||||
// You should have received a copy of the GNU General Public License
|
||||
// along with this library; see the file COPYING. If not, write to
|
||||
// the Free Software Foundation, 51 Franklin Street, Fifth Floor,
|
||||
// Boston, MA 02110-1301, USA.
|
||||
|
||||
// As a special exception, you may use this file as part of a free software
|
||||
// library without restriction. Specifically, if other files instantiate
|
||||
|
@ -13,10 +13,10 @@
|
||||
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
// GNU General Public License for more details.
|
||||
|
||||
// You should have received a copy of the GNU General Public License along
|
||||
// with this library; see the file COPYING. If not, write to the Free
|
||||
// Software Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301,
|
||||
// USA.
|
||||
// You should have received a copy of the GNU General Public License
|
||||
// along with this library; see the file COPYING. If not, write to
|
||||
// the Free Software Foundation, 51 Franklin Street, Fifth Floor,
|
||||
// Boston, MA 02110-1301, USA.
|
||||
|
||||
// As a special exception, you may use this file as part of a free software
|
||||
// library without restriction. Specifically, if other files instantiate
|
||||
|
@ -14,10 +14,10 @@
|
||||
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
// GNU General Public License for more details.
|
||||
|
||||
// You should have received a copy of the GNU General Public License along
|
||||
// with this library; see the file COPYING. If not, write to the Free
|
||||
// Software Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301,
|
||||
// USA.
|
||||
// You should have received a copy of the GNU General Public License
|
||||
// along with this library; see the file COPYING. If not, write to
|
||||
// the Free Software Foundation, 51 Franklin Street, Fifth Floor,
|
||||
// Boston, MA 02110-1301, USA.
|
||||
|
||||
// As a special exception, you may use this file as part of a free software
|
||||
// library without restriction. Specifically, if other files instantiate
|
||||
@ -380,4 +380,8 @@ _GLIBCXX_BEGIN_NAMESPACE(std)
|
||||
|
||||
_GLIBCXX_END_NAMESPACE
|
||||
|
||||
#ifdef __GXX_EXPERIMENTAL_CXX0X__
|
||||
# include <tr1/memory>
|
||||
#endif
|
||||
|
||||
#endif /* _GLIBCXX_MEMORY */
|
||||
|
@ -13,10 +13,10 @@
|
||||
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
// GNU General Public License for more details.
|
||||
|
||||
// You should have received a copy of the GNU General Public License along
|
||||
// with this library; see the file COPYING. If not, write to the Free
|
||||
// Software Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301,
|
||||
// USA.
|
||||
// You should have received a copy of the GNU General Public License
|
||||
// along with this library; see the file COPYING. If not, write to
|
||||
// the Free Software Foundation, 51 Franklin Street, Fifth Floor,
|
||||
// Boston, MA 02110-1301, USA.
|
||||
|
||||
// As a special exception, you may use this file as part of a free software
|
||||
// library without restriction. Specifically, if other files instantiate
|
||||
|
@ -15,10 +15,10 @@
|
||||
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
// GNU General Public License for more details.
|
||||
|
||||
// You should have received a copy of the GNU General Public License along
|
||||
// with this library; see the file COPYING. If not, write to the Free
|
||||
// Software Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301,
|
||||
// USA.
|
||||
// You should have received a copy of the GNU General Public License
|
||||
// along with this library; see the file COPYING. If not, write to
|
||||
// the Free Software Foundation, 51 Franklin Street, Fifth Floor,
|
||||
// Boston, MA 02110-1301, USA.
|
||||
|
||||
// As a special exception, you may use this file as part of a free software
|
||||
// library without restriction. Specifically, if other files instantiate
|
||||
|
@ -14,10 +14,10 @@
|
||||
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
// GNU General Public License for more details.
|
||||
|
||||
// You should have received a copy of the GNU General Public License along
|
||||
// with this library; see the file COPYING. If not, write to the Free
|
||||
// Software Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301,
|
||||
// USA.
|
||||
// You should have received a copy of the GNU General Public License
|
||||
// along with this library; see the file COPYING. If not, write to
|
||||
// the Free Software Foundation, 51 Franklin Street, Fifth Floor,
|
||||
// Boston, MA 02110-1301, USA.
|
||||
|
||||
// As a special exception, you may use this file as part of a free software
|
||||
// library without restriction. Specifically, if other files instantiate
|
||||
|
46
libstdc++-v3/include/std/random
Normal file
46
libstdc++-v3/include/std/random
Normal file
@ -0,0 +1,46 @@
|
||||
// <random> -*- C++ -*-
|
||||
|
||||
// Copyright (C) 2007 Free Software Foundation, Inc.
|
||||
//
|
||||
// This file is part of the GNU ISO C++ Library. This library is free
|
||||
// software; you can redistribute it and/or modify it under the
|
||||
// terms of the GNU General Public License as published by the
|
||||
// Free Software Foundation; either version 2, or (at your option)
|
||||
// any later version.
|
||||
|
||||
// This library is distributed in the hope that it will be useful,
|
||||
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
// GNU General Public License for more details.
|
||||
|
||||
// You should have received a copy of the GNU General Public License
|
||||
// along with this library; see the file COPYING. If not, write to
|
||||
// the Free Software Foundation, 51 Franklin Street, Fifth Floor,
|
||||
// Boston, MA 02110-1301, USA.
|
||||
|
||||
// As a special exception, you may use this file as part of a free software
|
||||
// library without restriction. Specifically, if other files instantiate
|
||||
// templates or use macros or inline functions from this file, or you compile
|
||||
// this file and link it with other files to produce an executable, this
|
||||
// file does not by itself cause the resulting executable to be covered by
|
||||
// the GNU General Public License. This exception does not however
|
||||
// invalidate any other reasons why the executable file might be covered by
|
||||
// the GNU General Public License.
|
||||
|
||||
/** @file include/random
|
||||
* This is a Standard C++ Library header.
|
||||
*/
|
||||
|
||||
#ifndef _GLIBCXX_RANDOM
|
||||
#define _GLIBCXX_RANDOM 1
|
||||
|
||||
#pragma GCC system_header
|
||||
|
||||
#ifdef __GXX_EXPERIMENTAL_CXX0X__
|
||||
# include <tr1/random>
|
||||
#else
|
||||
# include <c++0x_warning.h>
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
46
libstdc++-v3/include/std/regex
Normal file
46
libstdc++-v3/include/std/regex
Normal file
@ -0,0 +1,46 @@
|
||||
// <regex> -*- C++ -*-
|
||||
|
||||
// Copyright (C) 2007 Free Software Foundation, Inc.
|
||||
//
|
||||
// This file is part of the GNU ISO C++ Library. This library is free
|
||||
// software; you can redistribute it and/or modify it under the
|
||||
// terms of the GNU General Public License as published by the
|
||||
// Free Software Foundation; either version 2, or (at your option)
|
||||
// any later version.
|
||||
|
||||
// This library is distributed in the hope that it will be useful,
|
||||
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
// GNU General Public License for more details.
|
||||
|
||||
// You should have received a copy of the GNU General Public License
|
||||
// along with this library; see the file COPYING. If not, write to
|
||||
// the Free Software Foundation, 51 Franklin Street, Fifth Floor,
|
||||
// Boston, MA 02110-1301, USA.
|
||||
|
||||
// As a special exception, you may use this file as part of a free software
|
||||
// library without restriction. Specifically, if other files instantiate
|
||||
// templates or use macros or inline functions from this file, or you compile
|
||||
// this file and link it with other files to produce an executable, this
|
||||
// file does not by itself cause the resulting executable to be covered by
|
||||
// the GNU General Public License. This exception does not however
|
||||
// invalidate any other reasons why the executable file might be covered by
|
||||
// the GNU General Public License.
|
||||
|
||||
/** @file include/regex
|
||||
* This is a Standard C++ Library header.
|
||||
*/
|
||||
|
||||
#ifndef _GLIBCXX_REGEX
|
||||
#define _GLIBCXX_REGEX 1
|
||||
|
||||
#pragma GCC system_header
|
||||
|
||||
#ifdef __GXX_EXPERIMENTAL_CXX0X__
|
||||
# include <tr1/regex>
|
||||
#else
|
||||
# include <c++0x_warning.h>
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
@ -13,10 +13,10 @@
|
||||
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
// GNU General Public License for more details.
|
||||
|
||||
// You should have received a copy of the GNU General Public License along
|
||||
// with this library; see the file COPYING. If not, write to the Free
|
||||
// Software Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301,
|
||||
// USA.
|
||||
// You should have received a copy of the GNU General Public License
|
||||
// along with this library; see the file COPYING. If not, write to
|
||||
// the Free Software Foundation, 51 Franklin Street, Fifth Floor,
|
||||
// Boston, MA 02110-1301, USA.
|
||||
|
||||
// As a special exception, you may use this file as part of a free software
|
||||
// library without restriction. Specifically, if other files instantiate
|
||||
|
@ -14,10 +14,10 @@
|
||||
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
// GNU General Public License for more details.
|
||||
|
||||
// You should have received a copy of the GNU General Public License along
|
||||
// with this library; see the file COPYING. If not, write to the Free
|
||||
// Software Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301,
|
||||
// USA.
|
||||
// You should have received a copy of the GNU General Public License
|
||||
// along with this library; see the file COPYING. If not, write to
|
||||
// the Free Software Foundation, 51 Franklin Street, Fifth Floor,
|
||||
// Boston, MA 02110-1301, USA.
|
||||
|
||||
// As a special exception, you may use this file as part of a free software
|
||||
// library without restriction. Specifically, if other files instantiate
|
||||
|
@ -14,10 +14,10 @@
|
||||
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
// GNU General Public License for more details.
|
||||
|
||||
// You should have received a copy of the GNU General Public License along
|
||||
// with this library; see the file COPYING. If not, write to the Free
|
||||
// Software Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301,
|
||||
// USA.
|
||||
// You should have received a copy of the GNU General Public License
|
||||
// along with this library; see the file COPYING. If not, write to
|
||||
// the Free Software Foundation, 51 Franklin Street, Fifth Floor,
|
||||
// Boston, MA 02110-1301, USA.
|
||||
|
||||
// As a special exception, you may use this file as part of a free software
|
||||
// library without restriction. Specifically, if other files instantiate
|
||||
|
@ -13,10 +13,10 @@
|
||||
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
// GNU General Public License for more details.
|
||||
|
||||
// You should have received a copy of the GNU General Public License along
|
||||
// with this library; see the file COPYING. If not, write to the Free
|
||||
// Software Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301,
|
||||
// USA.
|
||||
// You should have received a copy of the GNU General Public License
|
||||
// along with this library; see the file COPYING. If not, write to
|
||||
// the Free Software Foundation, 51 Franklin Street, Fifth Floor,
|
||||
// Boston, MA 02110-1301, USA.
|
||||
|
||||
// As a special exception, you may use this file as part of a free software
|
||||
// library without restriction. Specifically, if other files instantiate
|
||||
|
@ -14,10 +14,10 @@
|
||||
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
// GNU General Public License for more details.
|
||||
|
||||
// You should have received a copy of the GNU General Public License along
|
||||
// with this library; see the file COPYING. If not, write to the Free
|
||||
// Software Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301,
|
||||
// USA.
|
||||
// You should have received a copy of the GNU General Public License
|
||||
// along with this library; see the file COPYING. If not, write to
|
||||
// the Free Software Foundation, 51 Franklin Street, Fifth Floor,
|
||||
// Boston, MA 02110-1301, USA.
|
||||
|
||||
// As a special exception, you may use this file as part of a free software
|
||||
// library without restriction. Specifically, if other files instantiate
|
||||
|
@ -15,10 +15,10 @@
|
||||
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
// GNU General Public License for more details.
|
||||
|
||||
// You should have received a copy of the GNU General Public License along
|
||||
// with this library; see the file COPYING. If not, write to the Free
|
||||
// Software Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301,
|
||||
// USA.
|
||||
// You should have received a copy of the GNU General Public License
|
||||
// along with this library; see the file COPYING. If not, write to
|
||||
// the Free Software Foundation, 51 Franklin Street, Fifth Floor,
|
||||
// Boston, MA 02110-1301, USA.
|
||||
|
||||
// As a special exception, you may use this file as part of a free software
|
||||
// library without restriction. Specifically, if other files instantiate
|
||||
|
46
libstdc++-v3/include/std/tuple
Normal file
46
libstdc++-v3/include/std/tuple
Normal file
@ -0,0 +1,46 @@
|
||||
// <tuple> -*- C++ -*-
|
||||
|
||||
// Copyright (C) 2007 Free Software Foundation, Inc.
|
||||
//
|
||||
// This file is part of the GNU ISO C++ Library. This library is free
|
||||
// software; you can redistribute it and/or modify it under the
|
||||
// terms of the GNU General Public License as published by the
|
||||
// Free Software Foundation; either version 2, or (at your option)
|
||||
// any later version.
|
||||
|
||||
// This library is distributed in the hope that it will be useful,
|
||||
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
// GNU General Public License for more details.
|
||||
|
||||
// You should have received a copy of the GNU General Public License
|
||||
// along with this library; see the file COPYING. If not, write to
|
||||
// the Free Software Foundation, 51 Franklin Street, Fifth Floor,
|
||||
// Boston, MA 02110-1301, USA.
|
||||
|
||||
// As a special exception, you may use this file as part of a free software
|
||||
// library without restriction. Specifically, if other files instantiate
|
||||
// templates or use macros or inline functions from this file, or you compile
|
||||
// this file and link it with other files to produce an executable, this
|
||||
// file does not by itself cause the resulting executable to be covered by
|
||||
// the GNU General Public License. This exception does not however
|
||||
// invalidate any other reasons why the executable file might be covered by
|
||||
// the GNU General Public License.
|
||||
|
||||
/** @file include/tuple
|
||||
* This is a Standard C++ Library header.
|
||||
*/
|
||||
|
||||
#ifndef _GLIBCXX_TUPLE
|
||||
#define _GLIBCXX_TUPLE 1
|
||||
|
||||
#pragma GCC system_header
|
||||
|
||||
#ifdef __GXX_EXPERIMENTAL_CXX0X__
|
||||
# include <tr1/tuple>
|
||||
#else
|
||||
# include <c++0x_warning.h>
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
46
libstdc++-v3/include/std/type_traits
Normal file
46
libstdc++-v3/include/std/type_traits
Normal file
@ -0,0 +1,46 @@
|
||||
// <type_traits> -*- C++ -*-
|
||||
|
||||
// Copyright (C) 2007 Free Software Foundation, Inc.
|
||||
//
|
||||
// This file is part of the GNU ISO C++ Library. This library is free
|
||||
// software; you can redistribute it and/or modify it under the
|
||||
// terms of the GNU General Public License as published by the
|
||||
// Free Software Foundation; either version 2, or (at your option)
|
||||
// any later version.
|
||||
|
||||
// This library is distributed in the hope that it will be useful,
|
||||
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
// GNU General Public License for more details.
|
||||
|
||||
// You should have received a copy of the GNU General Public License
|
||||
// along with this library; see the file COPYING. If not, write to
|
||||
// the Free Software Foundation, 51 Franklin Street, Fifth Floor,
|
||||
// Boston, MA 02110-1301, USA.
|
||||
|
||||
// As a special exception, you may use this file as part of a free software
|
||||
// library without restriction. Specifically, if other files instantiate
|
||||
// templates or use macros or inline functions from this file, or you compile
|
||||
// this file and link it with other files to produce an executable, this
|
||||
// file does not by itself cause the resulting executable to be covered by
|
||||
// the GNU General Public License. This exception does not however
|
||||
// invalidate any other reasons why the executable file might be covered by
|
||||
// the GNU General Public License.
|
||||
|
||||
/** @file include/type_traits
|
||||
* This is a Standard C++ Library header.
|
||||
*/
|
||||
|
||||
#ifndef _GLIBCXX_TYPE_TRAITS
|
||||
#define _GLIBCXX_TYPE_TRAITS 1
|
||||
|
||||
#pragma GCC system_header
|
||||
|
||||
#ifdef __GXX_EXPERIMENTAL_CXX0X__
|
||||
# include <tr1/type_traits>
|
||||
#else
|
||||
# include <c++0x_warning.h>
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
46
libstdc++-v3/include/std/unordered_map
Normal file
46
libstdc++-v3/include/std/unordered_map
Normal file
@ -0,0 +1,46 @@
|
||||
// <unordered_map> -*- C++ -*-
|
||||
|
||||
// Copyright (C) 2007 Free Software Foundation, Inc.
|
||||
//
|
||||
// This file is part of the GNU ISO C++ Library. This library is free
|
||||
// software; you can redistribute it and/or modify it under the
|
||||
// terms of the GNU General Public License as published by the
|
||||
// Free Software Foundation; either version 2, or (at your option)
|
||||
// any later version.
|
||||
|
||||
// This library is distributed in the hope that it will be useful,
|
||||
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
// GNU General Public License for more details.
|
||||
|
||||
// You should have received a copy of the GNU General Public License
|
||||
// along with this library; see the file COPYING. If not, write to
|
||||
// the Free Software Foundation, 51 Franklin Street, Fifth Floor,
|
||||
// Boston, MA 02110-1301, USA.
|
||||
|
||||
// As a special exception, you may use this file as part of a free software
|
||||
// library without restriction. Specifically, if other files instantiate
|
||||
// templates or use macros or inline functions from this file, or you compile
|
||||
// this file and link it with other files to produce an executable, this
|
||||
// file does not by itself cause the resulting executable to be covered by
|
||||
// the GNU General Public License. This exception does not however
|
||||
// invalidate any other reasons why the executable file might be covered by
|
||||
// the GNU General Public License.
|
||||
|
||||
/** @file include/unordered_map
|
||||
* This is a Standard C++ Library header.
|
||||
*/
|
||||
|
||||
#ifndef _GLIBCXX_UNORDERED_MAP
|
||||
#define _GLIBCXX_UNORDERED_MAP 1
|
||||
|
||||
#pragma GCC system_header
|
||||
|
||||
#ifdef __GXX_EXPERIMENTAL_CXX0X__
|
||||
# include <tr1/unordered_map>
|
||||
#else
|
||||
# include <c++0x_warning.h>
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
46
libstdc++-v3/include/std/unordered_set
Normal file
46
libstdc++-v3/include/std/unordered_set
Normal file
@ -0,0 +1,46 @@
|
||||
// <unordered_set> -*- C++ -*-
|
||||
|
||||
// Copyright (C) 2007 Free Software Foundation, Inc.
|
||||
//
|
||||
// This file is part of the GNU ISO C++ Library. This library is free
|
||||
// software; you can redistribute it and/or modify it under the
|
||||
// terms of the GNU General Public License as published by the
|
||||
// Free Software Foundation; either version 2, or (at your option)
|
||||
// any later version.
|
||||
|
||||
// This library is distributed in the hope that it will be useful,
|
||||
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
// GNU General Public License for more details.
|
||||
|
||||
// You should have received a copy of the GNU General Public License
|
||||
// along with this library; see the file COPYING. If not, write to
|
||||
// the Free Software Foundation, 51 Franklin Street, Fifth Floor,
|
||||
// Boston, MA 02110-1301, USA.
|
||||
|
||||
// As a special exception, you may use this file as part of a free software
|
||||
// library without restriction. Specifically, if other files instantiate
|
||||
// templates or use macros or inline functions from this file, or you compile
|
||||
// this file and link it with other files to produce an executable, this
|
||||
// file does not by itself cause the resulting executable to be covered by
|
||||
// the GNU General Public License. This exception does not however
|
||||
// invalidate any other reasons why the executable file might be covered by
|
||||
// the GNU General Public License.
|
||||
|
||||
/** @file include/unordered_set
|
||||
* This is a Standard C++ Library header.
|
||||
*/
|
||||
|
||||
#ifndef _GLIBCXX_UNORDERED_SET
|
||||
#define _GLIBCXX_UNORDERED_SET 1
|
||||
|
||||
#pragma GCC system_header
|
||||
|
||||
#ifdef __GXX_EXPERIMENTAL_CXX0X__
|
||||
# include <tr1/unordered_set>
|
||||
#else
|
||||
# include <c++0x_warning.h>
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
@ -1,6 +1,6 @@
|
||||
// <utility> -*- C++ -*-
|
||||
|
||||
// Copyright (C) 2001, 2002 Free Software Foundation, Inc.
|
||||
// Copyright (C) 2001, 2002, 2006 Free Software Foundation, Inc.
|
||||
//
|
||||
// This file is part of the GNU ISO C++ Library. This library is free
|
||||
// software; you can redistribute it and/or modify it under the
|
||||
@ -13,10 +13,10 @@
|
||||
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
// GNU General Public License for more details.
|
||||
|
||||
// You should have received a copy of the GNU General Public License along
|
||||
// with this library; see the file COPYING. If not, write to the Free
|
||||
// Software Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301,
|
||||
// USA.
|
||||
// You should have received a copy of the GNU General Public License
|
||||
// along with this library; see the file COPYING. If not, write to
|
||||
// the Free Software Foundation, 51 Franklin Street, Fifth Floor,
|
||||
// Boston, MA 02110-1301, USA.
|
||||
|
||||
// As a special exception, you may use this file as part of a free software
|
||||
// library without restriction. Specifically, if other files instantiate
|
||||
@ -66,4 +66,8 @@
|
||||
#include <bits/stl_relops.h>
|
||||
#include <bits/stl_pair.h>
|
||||
|
||||
#ifdef __GXX_EXPERIMENTAL_CXX0X__
|
||||
# include <tr1/utility>
|
||||
#endif
|
||||
|
||||
#endif /* _GLIBCXX_UTILITY */
|
||||
|
@ -15,10 +15,10 @@
|
||||
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
// GNU General Public License for more details.
|
||||
|
||||
// You should have received a copy of the GNU General Public License along
|
||||
// with this library; see the file COPYING. If not, write to the Free
|
||||
// Software Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301,
|
||||
// USA.
|
||||
// You should have received a copy of the GNU General Public License
|
||||
// along with this library; see the file COPYING. If not, write to
|
||||
// the Free Software Foundation, 51 Franklin Street, Fifth Floor,
|
||||
// Boston, MA 02110-1301, USA.
|
||||
|
||||
// As a special exception, you may use this file as part of a free software
|
||||
// library without restriction. Specifically, if other files instantiate
|
||||
|
@ -14,10 +14,10 @@
|
||||
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
// GNU General Public License for more details.
|
||||
|
||||
// You should have received a copy of the GNU General Public License along
|
||||
// with this library; see the file COPYING. If not, write to the Free
|
||||
// Software Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301,
|
||||
// USA.
|
||||
// You should have received a copy of the GNU General Public License
|
||||
// along with this library; see the file COPYING. If not, write to
|
||||
// the Free Software Foundation, 51 Franklin Street, Fifth Floor,
|
||||
// Boston, MA 02110-1301, USA.
|
||||
|
||||
// As a special exception, you may use this file as part of a free software
|
||||
// library without restriction. Specifically, if other files instantiate
|
||||
|
@ -44,7 +44,7 @@
|
||||
//namespace std::tr1
|
||||
namespace std
|
||||
{
|
||||
_GLIBCXX_BEGIN_NAMESPACE(tr1)
|
||||
_GLIBCXX_BEGIN_NAMESPACE(_GLIBCXX_TR1)
|
||||
|
||||
/// @brief struct array [6.2.2].
|
||||
/// NB: Requires complete type _Tp.
|
||||
|
@ -56,7 +56,7 @@
|
||||
|
||||
namespace std
|
||||
{
|
||||
_GLIBCXX_BEGIN_NAMESPACE(tr1)
|
||||
_GLIBCXX_BEGIN_NAMESPACE(_GLIBCXX_TR1)
|
||||
|
||||
class bad_weak_ptr : public std::exception
|
||||
{
|
||||
|
39
libstdc++-v3/include/tr1/ccomplex
Normal file
39
libstdc++-v3/include/tr1/ccomplex
Normal file
@ -0,0 +1,39 @@
|
||||
// TR1 ccomplex -*- C++ -*-
|
||||
|
||||
// Copyright (C) 2007 Free Software Foundation, Inc.
|
||||
//
|
||||
// This file is part of the GNU ISO C++ Library. This library is free
|
||||
// software; you can redistribute it and/or modify it under the
|
||||
// terms of the GNU General Public License as published by the
|
||||
// Free Software Foundation; either version 2, or (at your option)
|
||||
// any later version.
|
||||
|
||||
// This library is distributed in the hope that it will be useful,
|
||||
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
// GNU General Public License for more details.
|
||||
|
||||
// You should have received a copy of the GNU General Public License along
|
||||
// with this library; see the file COPYING. If not, write to the Free
|
||||
// Software Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301,
|
||||
// USA.
|
||||
|
||||
// As a special exception, you may use this file as part of a free software
|
||||
// library without restriction. Specifically, if other files instantiate
|
||||
// templates or use macros or inline functions from this file, or you compile
|
||||
// this file and link it with other files to produce an executable, this
|
||||
// file does not by itself cause the resulting executable to be covered by
|
||||
// the GNU General Public License. This exception does not however
|
||||
// invalidate any other reasons why the executable file might be covered by
|
||||
// the GNU General Public License.
|
||||
|
||||
/** @file tr1/ccomplex
|
||||
* This is a TR1 C++ Library header.
|
||||
*/
|
||||
|
||||
#ifndef _TR1_CCOMPLEX
|
||||
#define _TR1_CCOMPLEX 1
|
||||
|
||||
#include <tr1/complex>
|
||||
|
||||
#endif
|
@ -44,7 +44,7 @@
|
||||
// namespace std::tr1
|
||||
namespace std
|
||||
{
|
||||
_GLIBCXX_BEGIN_NAMESPACE(tr1)
|
||||
_GLIBCXX_BEGIN_NAMESPACE(_GLIBCXX_TR1)
|
||||
|
||||
using ::isblank;
|
||||
|
||||
|
@ -55,7 +55,7 @@
|
||||
// namespace std::tr1
|
||||
namespace std
|
||||
{
|
||||
_GLIBCXX_BEGIN_NAMESPACE(tr1)
|
||||
_GLIBCXX_BEGIN_NAMESPACE(_GLIBCXX_TR1)
|
||||
|
||||
// types
|
||||
using ::fenv_t;
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user