GCC to open the C++ demangle API?

Robert Dewar dewar@gnat.com
Wed Mar 20 05:12:00 GMT 2002


<This does not appear to be a standard to me.
I would call it a documented convention for the Itanium environment.
I do like the documentation though, especially the use of BNF.
Thankyou for drawing my attention to this. If only this would be adopted
by ISO.
>

To me it would seem a bit odd for ISO to adopt this as part of the language
definition. Is it really the case that name mangling has anything whatsoever
to do with the C++ language. To me it is just a low level implementation
approach to solving low level implementation problems, and is definitely
not the only approach. GNAT for example does not need to do name mangling
in the same kind of way at all, and if we did not have annoying limitations
like no dots in external identifiers, we would encode names even less than
we do now.



More information about the Gcc mailing list