no previous prototype for function that is defined in header?
no previous prototype for function that is defined in header?
- Subject: no previous prototype for function that is defined in header?
- From: Marc Respass <email@hidden>
- Date: Tue, 25 Jan 2011 15:19:13 -0500
Hi All,
I have a .m file with nothing but functions in it. There is an accompanying header file with the function prototypes in it and I import the header in the .m. My target has -Wmissing-prototypes turned on and even though I have the header with the prototypes in it, I get "no previous prototype for" function. What am I doing wrong? I had to turn off the warning. I would prefer to keep it on but I don't know how to define my functions so that it will compile. Anyone know what's wrong?
Thanks
Marc
_______________________________________________
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