[C++-sig] Re: Exception handling as thrown from BPL so
Niall Douglas
s_sourceforge at nedprod.com
Mon Apr 5 17:03:50 CEST 2004
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On 3 Apr 2004 at 13:54, David Abrahams wrote:
> > I'm guessing that the type info symbols are getting stripped and so
> > it's unable to match the exception type with the catch type. Am I
> > right in this?
>
> Very probably.
Actually, it took some time but I finally figured it out. It would
appear that GCC needs the type being thrown to have a virtual
function table for it to pass across shared object boundaries. This
is odd, because my base exception class never had a virtual function
table and I swear it used to work.
However, I do do most of my testing on Windows (better debugger). So
it's entirely possible I missed it.
Cheers,
Niall
-----BEGIN PGP SIGNATURE-----
Version: idw's PGP-Frontend 4.9.6.1 / 9-2003 + PGP 8.0.2
iQA/AwUBQHF1V8EcvDLFGKbPEQL/lgCgh7NDua1EaFpqklUu0mYVYd8DUC4Anidg
bTiFrc2qf5nuojbNQpLLn+vD
=fQ+N
-----END PGP SIGNATURE-----
More information about the Cplusplus-sig
mailing list