• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Interpreting object files symbols (another comment)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >Re: Interpreting object files symbols (another comment) (From: Marcus Mendenhall <email@hidden>)

  • Prev by Date: Re: Displaying crash log stack trace symbolically
  • Next by Date: Change Target Info
  • Previous by thread: Re: Interpreting object files symbols (another comment)
  • Next by thread: Change Target Info
  • Index(es):
    • Date
    • Thread