------- Comment #3 from paolo dot carlini at oracle dot com 2009-05-15 14:48 ------- Ok. In fact, being typeid used in formatter.h only (please confirm, if you can), I suspect not using it (replacing &typeid with 0) would only lead to worse error message, not more than that. Are you willing to experiment a bit with that? It would imply wrapping those place where _M_type is assigned with __GXX_RTTI, and also, careful, tweaking a bit src/debug.cc to not assert _M_type != 0, instead conditionalize consistently on that, have something like "<unknown type>" in its place. Please let me know...
-- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40160