Can't figure out compiler warning (C/Objective-c)
Can't figure out compiler warning (C/Objective-c)
- Subject: Can't figure out compiler warning (C/Objective-c)
- From: Mark Dawson <email@hidden>
- Date: Sun, 17 Apr 2005 22:16:59 -0700
In my .h file I have:
extern void setupUserDefaultsAndRegister();
In my .m file I have:
void setupUserDefaultsAndRegister() { … }
I get a warning (pointing to the declaration line) that I don't understand:
<x-tad-smaller>Defaults.m:177: warning: no previous prototype for `setupUserDefaultsAndRegister'
</x-tad-smaller>I must be missing something--it seems to be declared exactly the same, and IS called (I can use it and trace into from the debugger). Can anyone shed light on this?
Using XCode 1.5…
Thanks!
mark<x-tad-smaller>
</x-tad-smaller> _______________________________________________
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