[lug] g++ question: dynamic casts?

Scott A. Herod herod at interact-tv.com
Wed Jan 30 19:10:30 MST 2002


Hello,

  I know there are some g++ experts around.  I've got code that
uses dynamic casts on objects retrieved from a library.  The
library was built with gcc 2.95.2.  My code is built with 2.96.
The dynamic cast dies; not returns null but dies.  A static cast
works and if I build with 2.95.2 the dynamic cast works.

  Should I be surprised and upset?

Thanks,

Scott



More information about the LUG mailing list