diff options
author | Jonathan Wakely <jwakely@redhat.com> | 2014-11-14 12:17:57 +0000 |
---|---|---|
committer | Jonathan Wakely <redi@gcc.gnu.org> | 2014-11-14 12:17:57 +0000 |
commit | a5dde6ddac80b3a6e4cb3d988c5c449108411704 (patch) | |
tree | 7608d5f540586abdbb3a9159b02a5def19043a66 /config/nls.m4 | |
parent | 78d7f09fff5d074f6c0917559d005e9a2a156be8 (diff) | |
download | gcc-a5dde6ddac80b3a6e4cb3d988c5c449108411704.zip gcc-a5dde6ddac80b3a6e4cb3d988c5c449108411704.tar.gz gcc-a5dde6ddac80b3a6e4cb3d988c5c449108411704.tar.bz2 |
Define C++11 version of std::ios_base::failure.
* config/abi/pre/gnu.ver: Add new exports.
* include/bits/ios_base.h (ios_base::failure): New definition using
abi_tag.
(io_errc, make_error_code, make_error_category, iostream_category):
Define.
* include/std/system_error (system_error): Add char* constructors.
* src/c++11/Makefile.am: Add new file.
* src/c++11/Makefile.in: Regenerate.
* src/c++11/cxx11-ios_failure.cc: New file.
* src/c++98/ios_failure.cc: Compile old definition without abi_tag.
* testsuite/27_io/ios_base/failure/cxx11.cc: New.
* testsuite/27_io/ios_base/failure/what-1.cc: Allow string returned by
ios_base::failure::what() to contain additional data.
* testsuite/27_io/ios_base/failure/what-2.cc: Likewise..
* testsuite/27_io/ios_base/failure/what-3.cc: Likewise..
* testsuite/27_io/ios_base/failure/what-big.cc: Likewise..
From-SVN: r217559
Diffstat (limited to 'config/nls.m4')
0 files changed, 0 insertions, 0 deletions