This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libstdc++/66438] libstdc++ 5.1 broke binary compat with old code using std::error_category
- From: "foom at fuhm dot net" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Sat, 06 Jun 2015 15:26:35 +0000
- Subject: [Bug libstdc++/66438] libstdc++ 5.1 broke binary compat with old code using std::error_category
- Auto-submitted: auto-generated
- References: <bug-66438-4 at http dot gcc dot gnu dot org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66438
--- Comment #9 from James Y Knight <foom at fuhm dot net> ---
What good is having special code to allow linking compatibility, if the program
then can't work anyways? Isn't that anti-useful?
> I didn't realise you were the maintainer and knew what's supposed to work.
No, of course...I'm only a user....
> If you can provide a patch
I'm not certain, but it seems like probably the old-ABI
error_category::default_error_condition(int) ought to just return an
error_condition also with the old ABI, instead of the new one?
CC'ing debian's gcc maintainer, because the stated lack of desire for
compatibility between libstdc++ version 5, and g++ 4.9 seems like it's probably
something he wasn't aware of when upgrading.