This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: Question about g++ compatibility
- To: BTinkl at w-4 dot de, gcc-bugs at gcc dot gnu dot org
- Subject: Re: Question about g++ compatibility
- From: Mike Stump <mrs at wrs dot com>
- Date: Thu, 30 Sep 1999 15:11:57 -0700 (PDT)
> Date: Thu, 30 Sep 1999 23:05:23 +0200
> From: Bernd Tinkl <BTinkl@w-4.de>
> To: gcc-bugs@gcc.gnu.org
> 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).