[Bug libstdc++/58938] [4.7/4.8/4.9 Regression] std::exception_ptr is missing on architectures with incomplete atomic int support

redi at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Mon Nov 4 16:24:00 GMT 2013


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.


More information about the Gcc-bugs mailing list