help-gplusplus
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

dynamic_casts and shared objects


From: Marco Spatz
Subject: dynamic_casts and shared objects
Date: Thu, 03 Feb 2005 16:32:08 +0100
User-agent: Mozilla Thunderbird 1.0 (X11/20041206)

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi,

we're having a big project developed in windows and ported to linux. Now
we updated from gcc 2.9.x to gcc 3.3.4, and now have noticed problems
using dynamic_casts in shared objects (In fact, dynamic_casts always
returns a NULL-Pointer). I found that this is a known problem due to
changes in looking up symbols in shared objects. I also found a
workaround suggestion in the GCC Faq, but I haven't managed yet to make
it work.
To manage our build system, we're using CMake. Does anyone know, how to
set this up correctly to get the dynamic_casts up and running again?

Thx,
Ciao, Marco
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFCAkP4tuitVDAojTkRAuIFAJkB2oP4dnECtWihUDQCRKQ/XD5FbwCfasiB
tlCT75715t0A7Ph/KT0vWUg=
=nZ7p
-----END PGP SIGNATURE-----


reply via email to

[Prev in Thread] Current Thread [Next in Thread]