[odb-users] ODB exception problem

Boris Kolpackov boris at codesynthesis.com
Sun Jun 12 07:56:52 EDT 2011

Hi Uwe,

cetoni GmbH - Uwe Kindler <uwe.kindler at cetoni.de> writes:

> I compiled all ODB libraries and examples with -shared-libgcc  
> -shared-libstdc++ and that did the trick. I ran the modiefied example  
> and the exception was properly catched.

Thanks for sharing your findings.

The strange part in all this is that, as you've said in one of your
previous emails, you have built numerous DLLs for your project and
never had any problem catching cross-DLL exceptions. I assume you
didn't use the -shared-libgcc and -shared-libstdc++ options to
build your DLLs.

This makes me think that there is some difference in how libtool
links libodb and how you link your DLLs. Would you be able to compare
the command lines for any differences that could trigger this difference
in behavior? Alternatively, maybe you could post the command line
as was executed by libtool when building libodb and the command line
that you use. Then I could look for any differences.


More information about the odb-users mailing list