Re: missing declaration
Re: missing declaration
- Subject: Re: missing declaration
- From: Charlie Dickman <email@hidden>
- Date: Wed, 06 Jun 2012 12:35:34 -0400
Thanks Dave. That did the trick.On Jun 6, 2012, at 12:32 PM, Dave Zarzycki wrote: On Jun 6, 2012, at 9:26 AM, Charlie Dickman <3tothe4th@ comcast.net> wrote: 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.
#include <objc/runtime.h>
(The above header may have been implicitly included in the past by other headers.)
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).
|
_______________________________________________
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