------- Comment #13 from mmitchel at gcc dot gnu dot org 2008-01-06 19:35 ------- I'm not keen on silently changing dynamic_cast to static_cast. But, with -fno-rtti, making dynamic_cast<void*> and static casts work seems OK. Does that not work now?
And, certainly, adding preprocessor macros (__GNU_CXX_EXCEPTIONS, __GNU_CXX_RTTI) to indicate whether or not exceptions and RTTI are turned on or not seems like a good idea. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34680