Subject: Re: [Boost-bugs] [Boost C++ Libraries] #4594: Boost exception classes do not have GCC default visibility
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2011-06-14 10:12:18
#4594: Boost exception classes do not have GCC default visibility
------------------------------------------------------------+---------------
Reporter: Jonathan Jones <jonathan.jones@â¦> | Owner: emildotchevski
Type: Patches | Status: closed
Milestone: To Be Determined | Component: exception
Version: Boost 1.40.0 | Severity: Showstopper
Resolution: fixed | Keywords:
------------------------------------------------------------+---------------
Comment (by Dimitrij Drus <dadrus@â¦>):
Yes. Catching boost::exception thrown over the shared library boundaries
is only possible after surrounding the forward declaration with the
visibility pragmas. Patch is attached.
One can use the test attached by Jonathan to verify this. Jonathan,
however, expects the class boost::exception_detail::clone_base be exported
(surrounded with gcc visibility pragmas) too, that's why corresponding
test cases fail.
Regards
Dimitrij
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/4594#comment:6> Boost C++ Libraries <http://www.boost.org/> Boost provides free peer-reviewed portable C++ source libraries.
This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:06 UTC