Re: [Boost-bugs] [Boost C++ Libraries] #4594: Boost exception classes do not have GCC default visibility

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-05-24 07:18:15


#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):

 I just moved to the 1.46.1 version of boost. It still lacks the visibility
 support for boost::exception. The trunk has corresponding adjustments,
 which however are not complete. Within the exception.hpp there is a
 forward declaration of the exception class. Without surrounding this
 forward declaration with GCC visibility pragmas too, the boost::exception
 can't be catched if throwed across the shared lib boundaries.

 The behaviour was observed on Ubuntu 10.04 with gcc version 4.4.3.

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/4594#comment:4>
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