This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libstdc++/58938] [4.7/4.8/4.9 Regression] std::exception_ptr is missing on architectures with incomplete atomic int support
- 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: Mon, 04 Nov 2013 16:22:07 +0000
- Subject: [Bug libstdc++/58938] [4.7/4.8/4.9 Regression] std::exception_ptr is missing on architectures with incomplete atomic int support
- Auto-submitted: auto-generated
- References: <bug-58938-4 at http dot gcc dot gnu dot org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58938
--- Comment #10 from Jonathan Wakely <redi at gcc dot gnu.org> ---
(In reply to RafaÅ Rawicki from comment #9)
> I do link with libatomic.so - does that mean, I can patch this conditional
> out (and similar conditional in the exception_ptr.h) and use exception_ptrs?
You could try it. I don't know if it will work correctly.
> Why it was decided to remove a part of standard library instead of enforcing
> user to link with libatomic.so?
That's the usual policy for the library, we don't define components that rely
on features that are missing from target platforms.