This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: Solaris 2.5.1, gcc version 2.96 20000807; RTTI problem
- To: Jim McKelvey <mckelvey at bean dot jpl dot nasa dot gov>
- Subject: Re: Solaris 2.5.1, gcc version 2.96 20000807; RTTI problem
- From: Alexandre Oliva <aoliva at redhat dot com>
- Date: 10 Aug 2000 15:51:39 -0300
- Cc: gcc-bugs at gcc dot gnu dot org
- Organization: GCC Team, Red Hat
- References: <200008101646.JAA28883@mushroom.jpl.nasa.gov>
On Aug 10, 2000, Jim McKelvey <mckelvey@bean.jpl.nasa.gov> wrote:
> typeinfo.name() prepends a count to the type name.
That's correct. typeinfo.name() returns the mangled version of the
type name, in the case of GCC. You can use the demangling functions
in libiberty and libgcc to get the original type name.
--
Alexandre Oliva Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
Red Hat GCC Developer aoliva@{cygnus.com, redhat.com}
CS PhD student at IC-Unicamp oliva@{lsd.ic.unicamp.br, gnu.org}
Free Software Evangelist *Please* write to mailing lists, not to me