• 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
missing declaration
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

missing declaration


  • Subject: missing declaration
  • From: Charlie Dickman <email@hidden>
  • Date: Wed, 06 Jun 2012 12:26:33 -0400

I am trying to use the ObjectiveC runtime function class_getName which, according to the developer documentation,

 "The functions are implemented in the shared library found at /usr/lib/libobjc.A.dylib. This shared library provides support for the dynamic properties of the Objective-C language, and as such is linked to by all Objective-C applications."

Yet I get the warning that my use of class_getName is an "implicit definition" of it.

I have used this and other runtime functions in other projects without receiving such a warning.

Can anyone explain what I need to do to avoid this warning? (I have a thing about my projects building with no warnings or errors).

Charlie Dickman
email@hidden



 _______________________________________________
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

  • Follow-Ups:
    • Re: missing declaration
      • From: Dave Zarzycki <email@hidden>
  • Prev by Date: Re: Percent download
  • Next by Date: Re: missing declaration
  • Previous by thread: Re: Percent download
  • Next by thread: Re: missing declaration
  • Index(es):
    • Date
    • Thread