This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: Exceptions and so
- From: bjorn rohde jensen <shamus at tdcadsl dot dk>
- Cc: gcc-help at gcc dot gnu dot org
- Date: Wed, 15 May 2002 14:41:20 +0200
- Subject: Re: Exceptions and so
- References: <KEEPIDENLNDAMPIBECHFGEGPCDAA.hni@bossmedia.se>
- Reply-to: shamus at tdcadsl dot dk
Hi Henrik,
You should be able to throw exceptions in a shared object
and even accross the so interface, but you have to be very
carefull. I have had interesting results stemming from
premature unloading of libraries due to thrown exceptions.
A simple design flaw on my behalf due to insufficient
understanding, but quite educational i guess;)
You might want to check out comp.lang.c++.moderated, since
there is an interesting thread running now about the binary
compatibility of shared objects.
Perhaps you could try to post a small contained example
demonstrating the problem?
Yours sincerely,
bjorn