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: "redi at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Sat, 06 Jun 2015 13:54:11 +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 #8 from Jonathan Wakely <redi at gcc dot gnu.org> ---
Created attachment 35708
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=35708&action=edit
Compare old and new categories
This fixes this specific testcase, but not all cases (if you compare
error_condition objects created in different translation unit compiled with
different GCC versions then whether it works depends on which error_condition
is on the left-hand side).