This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
RE: exceptions not caught from shared libraries loaded with dlopen
- From: "John (Eljay) Love-Jensen" <eljay at adobe dot com>
- To: <tahoma at gmx dot de>, <gcc-help at gcc dot gnu dot org>
- Date: Fri, 19 Oct 2007 04:29:38 -0700
- Subject: RE: exceptions not caught from shared libraries loaded with dlopen
- References: <20071019102432.151820@gmx.net>
Hi Jan,
> I have a real serious problem with g++ version 4.2.1 and lower.
Perhaps.
Or perhaps you have an OS that does not support throwing exceptions across shared library boundaries. (In particular, the RTTI of the object is strongly linked to the type information in the shared library, and does not compare as the same to the type information in the code that catches the exception which is strongly linked to a different type information structure. The OS does not support vague linkage.)
Which OS are you using?
--Eljay