OSDN Git Service

2007-08-23 Benjamin Kosnik <bkoz@redhat.com>
authorbkoz <bkoz@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 23 Aug 2007 16:16:41 +0000 (16:16 +0000)
committerbkoz <bkoz@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 23 Aug 2007 16:16:41 +0000 (16:16 +0000)
commitd0ff4e646322cf50ab9f0c32d7a83876795eb584
tree052c96d0ba7b75a0ffafb1f29e3a27f720931357
parentfb80456a6cabd7069949b5176aa7f2b5f5556e59
2007-08-23  Benjamin Kosnik  <bkoz@redhat.com>

* include/std/system_error: New file.
* src/system_error.cc: New file.
* src/Makefile.am (sources): Add.
* src/Makefile.in: Regenerate.
* include/Makefile.am (std_headers): Add system_error.
* include/Makefile.in: Regenerate.
* acinclude.m4 (GLIBCXX_CHECK_SYSTEM_ERROR): New.
* configure.ac: Call it.
* config.h.in: Regenerate.
* include/bits/functional_hash.h: Add hash<error_code>.
  * include/std/ostream: Add inserters for error_code.

* docs/doxygen/user.cfg.in: Add system_error.

* config/abi/pre/gnu.ver(GLIBCXX_3.4.10): Add new symbols.

* testsuite/19_diagnostics/error_code: New.
* testsuite/19_diagnostics/error_code/cons: Same.
* testsuite/19_diagnostics/error_code/cons/1.cc: Same.
* testsuite/19_diagnostics/error_code/operators: Same.
* testsuite/19_diagnostics/error_code/operators/bool.cc: Same.
* testsuite/19_diagnostics/error_code/operators/bool_neg.cc: Same.
* testsuite/19_diagnostics/error_code/operators/equal.cc: Same.
* testsuite/19_diagnostics/error_code/operators/not_equal.cc: Same.
* testsuite/19_diagnostics/error_category: Same.
* testsuite/19_diagnostics/error_category/cons: Same.
* testsuite/19_diagnostics/error_category/cons/copy_neg.cc: Same.
* testsuite/19_diagnostics/error_category/cons/default.cc: Same.
* testsuite/19_diagnostics/error_category/operators: Same.
* testsuite/19_diagnostics/error_category/operators/equal.cc: Same.
* testsuite/19_diagnostics/error_category/operators/not_equal.cc: Same.
* testsuite/19_diagnostics/headers/system_error: Same.
* testsuite/19_diagnostics/headers/system_error/
types_std_c++0x.cc: Same.
* testsuite/19_diagnostics/headers/system_error/std_c++0x_neg.cc: Same.
* testsuite/19_diagnostics/system_error: Same.
* testsuite/19_diagnostics/system_error/
cons_virtual_derivation.cc: Same.
* testsuite/19_diagnostics/system_error/cons-1.cc: Same.
* testsuite/19_diagnostics/system_error/what-1.cc: Same.
* testsuite/19_diagnostics/system_error/what-2.cc: Same.
* testsuite/19_diagnostics/system_error/what-big.cc: Same.
* testsuite/19_diagnostics/system_error/what-3.cc: Same.
* testsuite/19_diagnostics/system_error/what-4.cc: Same.
* testsuite/27_io/basic_ostream/inserters_other/wchar_t/
error_code.cc: Same.
* testsuite/27_io/basic_ostream/inserters_other/char/
error_code.cc: Same.
* testsuite/tr1/6_containers/hash/operators: New.
* testsuite/tr1/6_containers/hash/operators/size_t.cc: Same.

* testsuite/23_containers/hash: Move...
* testsuite/20_util/hash: ... here.
* testsuite/20_util/hash/operators: New.
* testsuite/20_util/hash/operators/size_t.cc: New.

* testsuite/20_util/function_objects/bad_function_call: Move...
* testsuite/20_util/bad_function_call: ...here.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@127744 138bc75d-0d04-0410-961f-82ee72b054a4
39 files changed:
libstdc++-v3/ChangeLog
libstdc++-v3/acinclude.m4
libstdc++-v3/config.h.in
libstdc++-v3/config/abi/pre/gnu.ver
libstdc++-v3/configure
libstdc++-v3/configure.ac
libstdc++-v3/docs/doxygen/user.cfg.in
libstdc++-v3/include/Makefile.am
libstdc++-v3/include/Makefile.in
libstdc++-v3/include/bits/functional_hash.h
libstdc++-v3/include/std/ostream
libstdc++-v3/include/std/system_error [new file with mode: 0644]
libstdc++-v3/src/Makefile.am
libstdc++-v3/src/Makefile.in
libstdc++-v3/src/system_error.cc [new file with mode: 0644]
libstdc++-v3/testsuite/19_diagnostics/error_category/cons/copy_neg.cc [new file with mode: 0644]
libstdc++-v3/testsuite/19_diagnostics/error_category/cons/default.cc [new file with mode: 0644]
libstdc++-v3/testsuite/19_diagnostics/error_category/operators/equal.cc [new file with mode: 0644]
libstdc++-v3/testsuite/19_diagnostics/error_category/operators/not_equal.cc [new file with mode: 0644]
libstdc++-v3/testsuite/19_diagnostics/error_code/cons/1.cc [new file with mode: 0644]
libstdc++-v3/testsuite/19_diagnostics/error_code/operators/bool.cc [new file with mode: 0644]
libstdc++-v3/testsuite/19_diagnostics/error_code/operators/bool_neg.cc [new file with mode: 0644]
libstdc++-v3/testsuite/19_diagnostics/error_code/operators/equal.cc [new file with mode: 0644]
libstdc++-v3/testsuite/19_diagnostics/error_code/operators/not_equal.cc [new file with mode: 0644]
libstdc++-v3/testsuite/19_diagnostics/headers/system_error/std_c++0x_neg.cc [moved from libstdc++-v3/testsuite/23_containers/hash/requirements/explicit_instantiation.cc with 69% similarity]
libstdc++-v3/testsuite/19_diagnostics/headers/system_error/types_std_c++0x.cc [new file with mode: 0644]
libstdc++-v3/testsuite/19_diagnostics/system_error/cons-1.cc [new file with mode: 0644]
libstdc++-v3/testsuite/19_diagnostics/system_error/cons_virtual_derivation.cc [new file with mode: 0644]
libstdc++-v3/testsuite/19_diagnostics/system_error/what-1.cc [new file with mode: 0644]
libstdc++-v3/testsuite/19_diagnostics/system_error/what-2.cc [new file with mode: 0644]
libstdc++-v3/testsuite/19_diagnostics/system_error/what-3.cc [new file with mode: 0644]
libstdc++-v3/testsuite/19_diagnostics/system_error/what-4.cc [new file with mode: 0644]
libstdc++-v3/testsuite/19_diagnostics/system_error/what-big.cc [new file with mode: 0644]
libstdc++-v3/testsuite/20_util/bad_function_call/cons_virtual_derivation.cc [moved from libstdc++-v3/testsuite/20_util/function_objects/bad_function_call/cons_virtual_derivation.cc with 100% similarity]
libstdc++-v3/testsuite/20_util/hash/operators/size_t.cc [new file with mode: 0644]
libstdc++-v3/testsuite/20_util/hash/requirements/explicit_instantiation.cc [new file with mode: 0644]
libstdc++-v3/testsuite/27_io/basic_ostream/inserters_other/char/error_code.cc [new file with mode: 0644]
libstdc++-v3/testsuite/27_io/basic_ostream/inserters_other/wchar_t/error_code.cc [new file with mode: 0644]
libstdc++-v3/testsuite/tr1/6_containers/hash/operators/size_t.cc [new file with mode: 0644]