Question about g++ compatibility

Mike Stump
Thu Sep 30 19:57:00 GMT 1999

> Date: Thu, 30 Sep 1999 23:05:23 +0200
> From: Bernd Tinkl <>
> To:

> Is type_info supportet by any version of g++?

Most all recent ones.  -frtti, as documented in the manual.  In new
enough compilers, it is on by default.

Could be you didn't include the right header.  Did you include
typeinfo (or what that typeinfo.h).

More information about the Gcc-bugs mailing list