Re: Interpreting object files symbols (another comment)
Re: Interpreting object files symbols (another comment)
- Subject: Re: Interpreting object files symbols (another comment)
- From: "Yves Poissant" <email@hidden>
- Date: Tue, 30 Aug 2005 13:33:32 -0400
- Organization: Hash Enterprises Inc.
BOOL AfxUnlockTempMaps(BOOL DeleteTemps = TRUE);
in the header file. The application that uses the function calls it
with
AfxUnlockTempMaps();
The linker complains that the symbol
__Z17AfxUnlockTempMapsv
is undefined.
gcc -o unmangle unmangle.cc -lstdc++
Thanks for that nice usefull utility. This works fine.
However, when I try to unmangle the name you sent, I get an error.
Are there more characters cut off the end, by any chance?
The actual symbol name is __AfxUnlockTempMapsv (I corrected the included
message segments above). There is probably a sort of CRC in the mangled name
which makes sense. This unmangles to "AfxUnlockTempMaps()". Isn't that
wrong? I mean shouldn't that be AfxUnlockTempMaps(int) since BOOL is defined
as "typedef int BOOL;"? And what about the returned value too?
The most common reason I have had for this error is that a destructor
for the class has been declared in the header, but never instantiated.
This is a global function. Not a class member.
Yves Poissant
_______________________________________________
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