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]

Re: Solaris 2.5.1, gcc version 2.96 20000807; RTTI problem


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


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