Re: Tool to de-mangle C++ names?
Re: Tool to de-mangle C++ names?
- Subject: Re: Tool to de-mangle C++ names?
- From: "Corey O'Connor" <email@hidden>
- Date: Tue, 1 Nov 2005 11:50:52 -0800
On 11/1/05, Mark Dawson <email@hidden> wrote:
> What is the current way to convert a GCC 4.0 linker error like "__ZN7CButton7IButtonEllllP5CFontPcl" to the C++ name? I searched the dev site for "demangle" and only saw references to MPW and "c++filt" (but that just spits out the same symbol if I do a "c++filt __ZN7CButton7IButtonEllllP5CFontPcl" call in Terminal) . I know that it's something like CButton::IButton, but I don't know exactly what the parameters it thinks it wants (the .h and .cp match, as far as I can tell).
c++filt is what you want, but it takes input on stdin not from command
line arguments. This is what I get from echo
__ZN7CButton7IButtonEllllP5CFontPcl | c++filt
CButton::IButton(long, long, long, long, CFont*, char*, long)
--
-Corey O'Connor
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden