This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug libstdc++/34680] [4.3 Regression] Unconditional use of dynamic_cast in locale_facets.tcc breaks compilation with -fno-rtti



------- 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]