https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66145
--- Comment #25 from Jonathan Wakely <redi at gcc dot gnu.org> --- (In reply to Boris Kolpackov from comment #24) > Some more speculation/crazy ideas about the potential fix: > > If just throwing the new version and forgetting about the old one is an > option, then perhaps we could "de-inherit" old from std::exception and > inherit new from this modified variant of old (in addition to system_error). That would be an ABI break for the old ABI. If breaking the old ABI was an option we wouldn't be in this situation in the first place. > Regarding how to have two version at the same time, I may be wrong, but I > thought inline namespaces were used to implement this dual ABI. No, maybe take a look at the code.