Name Mangling Without Return Type?

Corn Hulio nitrogenycs@firemail.de
Tue Dec 2 16:09:00 GMT 2003


Hello,

say u have a function like

bool Class::SomeFunc(int param1, COtherClass param2);

If the function name gets mangled and i try to unmangle it, i am unable to retrieve the
return type of it (bool in this case). Isn't there the
possibility to include it into the mangled name so i can get it back when unmangling?
msvc does this for example (i know gcc is not msvc) and i
think it is a very useful feature, especially for applications similar to the one
described here: http://www.drizzle.com/~scottb/gdc/fubi-paper.htm
 . Can you maybe add a compiler switch or other way that includes the return type? Or am
I totally wrong here and the return type is already in
the mangled name?

Thank you for any comments!

-Matt

_________________________________________________________________
Handys - Aktuelle Angebote unter  EUR 90.-   - www.ebay.de
Über 1 Mio. Angebote zu günstigen Preisen! eBay - Jetzt besser kaufen!




More information about the Gcc mailing list