Re: [Plib-devel] Minor Issues with PLIB Release Candidate
Brought to you by:
sjbaker
From: Bram S. <br...@sa...> - 2005-01-15 07:22:26
|
Fay John F Contr AAC/WMG wrote: > - ssgSaveIV.cxx:100,233,240,246,255,270 - dynamic-cast used on > polymorphic type with "/GR-"; behavior is unpredictable I assume that "/GR-" is a flag for your win32 compiler? What does this flag do? Is removing this flag an option? If not, using isAKindOf() coupled with a static_cast<>() should be a possible replacement of the dynamic cast. I find it strange that win32 is not able to cope with this. I would guess that *all* base classes that have derived classes are polymorphic. That means dynamic_cast cant be used at all in your setup. bram |