Exceptions and so

bjorn rohde jensen shamus@tdcadsl.dk
Wed May 15 05:46:00 GMT 2002


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



More information about the Gcc-help mailing list