[Bug libstdc++/66145] [5/6 Regression] std::ios_base::failure objects thrown from libstdc++.so use old ABI

malcolm.parsons at gmail dot com gcc-bugzilla@gcc.gnu.org
Fri Apr 1 09:15:00 GMT 2016


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66145

Malcolm Parsons <malcolm.parsons at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |malcolm.parsons at gmail dot com

--- Comment #10 from Malcolm Parsons <malcolm.parsons at gmail dot com> ---
https://gcc.gnu.org/onlinedocs/libstdc++/manual/using_dual_abi.html says

"Although the standard exception types defined in <stdexcept> use strings, they
are not defined twice, so that a std::out_of_range exception thrown in one file
can always be caught by a suitable handler in another file, even if the two
files are compiled with different ABIs."

Why doesn't this apply to the std::ios_base exceptions?


More information about the Gcc-bugs mailing list