ABI demangling problems

Ian Lance Taylor ian@wasabisystems.com
Tue Jun 22 16:45:00 GMT 2004


Asfand Yar Qazi <email@asfandyar.cjb.net> writes:

> I'm using the abi::__cxa_demangle() function, and it doesn't recognise
> the names 'l' (for long) and other similar names.  This seems to be
> new behaviour since the change to G++ 3.4.0 from 3.3.3. (where the
> names for long, char etc. were demangled fine.) How can I demangle the
> names for long (l), char(c), unsigned char(h), etc.?

Can you give an example of what you mean?

I don't know if this is what you are referring to, but note that the
demangler does not demangle single character typenames.  I think that
is a dumb rule, but it follows the API described here:
    http://www.codesourcery.com/cxx-abi/abi.html#demangler

Ian



More information about the Gcc-help mailing list