$include_dir="/home/hyper-archives/boost-users/include"; include("$include_dir/msg-header.inc") ?>
Subject: Re: [Boost-users] Catching boost::thread_interrupted
From: Peter Dimov (pdimov_at_[hidden])
Date: 2008-09-08 15:50:31
Dr. Roland Bock:
>> Boost does not use __attribute__ ((visibility("default"))), therefore
>> typeinfo for exceptions is not exported and you can't catch exceptions
>> thrown by boost.
>
> Please forgive me if this is a stupid question:
>
> Is that a bug or a feature? Wouldn't it be good to be able to catch
> exceptions thrown by boost?
I'm not sure I understand. Have you built Boost with an
additional -fvisibility-hidden parameter? If you didn't, the default
visibility should be the appropriately named "default", should it not? What
effect would __attribute__ ((visibility("default"))) then have?