[patch] Define new std::ios_base::failure with abi_tag("cxx11")

Jonathan Wakely jwakely@redhat.com
Fri Nov 14 12:23:00 GMT 2014


This adds system_error support to iostreams, including the required
base class changes to std::ios_base::failure. The abi_tag is used to
make it a distinct type.  This changes the type of I/O exceptions
thrown by the library but exceptions are very rarely used with
iostreams.

Tested powerpc64-linux and x86_64-linux
-------------- next part --------------
A non-text attachment was scrubbed...
Name: patch.txt
Type: text/x-patch
Size: 14241 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20141114/df0c0cb4/attachment.bin>


More information about the Gcc-patches mailing list