[Signals] Fixed shared library issues on RC_1_33_0

I've just checked in a fix for the shared library/symbol visibility problems with Signals. If you've had problems with this before, please test! It's on the RC_1_33_0 branch for the 1.33.1 beta release. Doug

On Sun, Oct 16, 2005 at 09:26:14AM -0500, Douglas Gregor <doug.gregor@gmail.com> wrote:
I've just checked in a fix for the shared library/symbol visibility problems with Signals. If you've had problems with this before, please test! It's on the RC_1_33_0 branch for the 1.33.1 beta release.
It (building with -fvisibility=hidden and surrounding boost/signals headers with visibility=default) works now, as expected. What was the trick? Regards Andreas Pokorny

On Oct 16, 2005, at 11:13 AM, Andreas Pokorny wrote:
On Sun, Oct 16, 2005 at 09:26:14AM -0500, Douglas Gregor <doug.gregor@gmail.com> wrote:
I've just checked in a fix for the shared library/symbol visibility problems with Signals. If you've had problems with this before, please test! It's on the RC_1_33_0 branch for the 1.33.1 beta release.
It (building with -fvisibility=hidden and surrounding boost/signals headers with visibility=default) works now, as expected. What was the trick?
Avoid anything that needs RTTI. I've removed most uses of boost::any, and for those that remain I use a new "unsafe_any_cast" that doesn't check the typeid(). Doug

On Sun, Oct 16, 2005 at 12:06:33PM -0500, Douglas Gregor <doug.gregor@gmail.com> wrote:
On Oct 16, 2005, at 11:13 AM, Andreas Pokorny wrote:
On Sun, Oct 16, 2005 at 09:26:14AM -0500, Douglas Gregor <doug.gregor@gmail.com> wrote:
I've just checked in a fix for the shared library/symbol visibility problems with Signals. If you've had problems with this before, please test! It's on the RC_1_33_0 branch for the 1.33.1 beta release.
It (building with -fvisibility=hidden and surrounding boost/signals headers with visibility=default) works now, as expected. What was the trick?
Avoid anything that needs RTTI. I've removed most uses of boost::any, and for those that remain I use a new "unsafe_any_cast" that doesn't check the typeid().
Oh, I used the old version, while writing that email. Furthermore I also did not notice that I was testing a static linked version of the binary. So now I finally tested the newest version of boost signals, and it does not need any special treatment to make it work with -fvisibility=hidden. Thank you! When will Boost-1.33.1 get released? Regards Andreas Pokorny

Andreas Pokorny wrote:
When will Boost-1.33.1 get released?
When this page is empty: http://engineering.meta-comm.com/boost-regression/CVS-RC_1_33_0/developer/is... I know, not that good of an answer. But it's the only answer we have right now. -- -- Grafik - Don't Assume Anything -- Redshift Software, Inc. - http://redshift-software.com -- rrivera/acm.org - grafik/redshift-software.com -- 102708583/icq - grafikrobot/aim - Grafik/jabber.org
participants (3)
-
Andreas Pokorny
-
Douglas Gregor
-
Rene Rivera