Fred Zwarts wrote: > [...] > Interesting. A few years ago I had a similar problem on an OpenVMS > system. > The dynamic_cast did not work properly in a function that was called > from > another function in a shareable image (which is similar to a dynamic > library > under Linux). An example was code running in a separate thread. Since > the > pthread library was in a shareable image, functions running in > another thread > were called from functions in a shareable image. > The OpenVMS engineers brought out a patch for the compiler and the > run-time > library quickly. > > The similarity of these problems strikes me, as the compiler > environments are > from very different teams. Apparently there is something in > dynamic_cast > that makes it difficult to work from pre-linked parts of a program.
Could you easily reproduce the problem with a small test program or was it something where some other conditions had to be met? And did you ever try to link everything statically just to see if the problem disappeared? Boris _______________________________________________ help-gplusplus mailing list help-gplusplus@gnu.org http://lists.gnu.org/mailman/listinfo/help-gplusplus