• 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: bsd static lib question
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: bsd static lib question


  • Subject: Re: bsd static lib question
  • From: Chris Espinosa <email@hidden>
  • Date: Mon, 2 May 2005 13:55:50 -0700

On May 2, 2005, at 1:03 PM, Luc Vandal wrote:

Although it seems that the compiler added more than an underscore to the function name. For examble, a function named MyFunction now looks like _Z12MyFunctionv.


Is this normal?


Yes, this is C++ "name mangling" in which the function's argument types and return type are encoded in the function name.  It's required for C++ polymorphism (where you can have many functions with the same symbol but different operands).

Chris
 _______________________________________________
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: bsd static lib question (From: Luc Vandal <email@hidden>)

  • Prev by Date: Re: Header Search Paths & Source Trees
  • Next by Date: Re: XCode 2 availability
  • Previous by thread: Re: bsd static lib question
  • Next by thread: where is c++filt (gcc4)
  • Index(es):
    • Date
    • Thread