system_error: Align to current draft specifications.
authorBenjamin Kosnik <bkoz@redhat.com>
Fri, 16 May 2008 21:55:00 +0000 (21:55 +0000)
committerBenjamin Kosnik <bkoz@gcc.gnu.org>
Fri, 16 May 2008 21:55:00 +0000 (21:55 +0000)
commit70593ad2f1664cd978d11da4ecc01f05babe0c59
treedb696e79edd0beb18fbe3903b5746d4243fb7897
parentae772c2de32aad49c4142f82af3596d70f2ce3a3
system_error: Align to current draft specifications.

2008-05-16  Benjamin Kosnik  <bkoz@redhat.com>

* include/std/system_error: Align to current draft specifications.
* src/system_error.cc: Same.
* src/functexcept.cc: Adjust for corrected system_error construction.
* include/std/ostream: Adjust error_code inserter.
* acinclude.m4 (GLIBCXX_CHECK_SYSTEM_ERROR): Remove sys_nerr test.
* config/abi/pre/gnu.ver: Add new exports.

* testsuite/util/testsuite_error.h: Consolidate error testing
utilities here.
* testsuite/19_diagnostics/error_code/cons/1.cc: Use
testsuite_error, adjust line numbers and constructor calls.
* testsuite/19_diagnostics/error_code/operators/equal.cc: Same.
* testsuite/19_diagnostics/error_code/operators/not_equal.cc: 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/equal.cc: Same.
* testsuite/19_diagnostics/error_category/operators/not_equal.cc: 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.

From-SVN: r135446
22 files changed:
libstdc++-v3/ChangeLog
libstdc++-v3/acinclude.m4
libstdc++-v3/config/abi/pre/gnu.ver
libstdc++-v3/include/std/ostream
libstdc++-v3/include/std/system_error
libstdc++-v3/src/functexcept.cc
libstdc++-v3/src/system_error.cc
libstdc++-v3/testsuite/19_diagnostics/error_category/cons/copy_neg.cc
libstdc++-v3/testsuite/19_diagnostics/error_category/cons/default.cc
libstdc++-v3/testsuite/19_diagnostics/error_category/operators/equal.cc
libstdc++-v3/testsuite/19_diagnostics/error_category/operators/not_equal.cc
libstdc++-v3/testsuite/19_diagnostics/error_code/cons/1.cc
libstdc++-v3/testsuite/19_diagnostics/error_code/operators/equal.cc
libstdc++-v3/testsuite/19_diagnostics/error_code/operators/not_equal.cc
libstdc++-v3/testsuite/19_diagnostics/system_error/cons-1.cc
libstdc++-v3/testsuite/19_diagnostics/system_error/cons_virtual_derivation.cc
libstdc++-v3/testsuite/19_diagnostics/system_error/what-1.cc
libstdc++-v3/testsuite/19_diagnostics/system_error/what-2.cc
libstdc++-v3/testsuite/19_diagnostics/system_error/what-3.cc
libstdc++-v3/testsuite/19_diagnostics/system_error/what-4.cc
libstdc++-v3/testsuite/19_diagnostics/system_error/what-big.cc
libstdc++-v3/testsuite/util/testsuite_error.h [new file with mode: 0644]