[C++-sig] Re: Exception handling as thrown from BPL so
s_sourceforge at nedprod.com
Mon Apr 5 17:03:50 CEST 2004
-----BEGIN PGP SIGNED MESSAGE-----
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.
-----BEGIN PGP SIGNATURE-----
Version: idw's PGP-Frontend 126.96.36.199 / 9-2003 + PGP 8.0.2
-----END PGP SIGNATURE-----
More information about the Cplusplus-sig