• 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
no previous prototype for function that is defined in header?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Prev by Date: Re: Xcode 3.2.5 crashing when opening Xcode projects
  • Next by Date: Why doesn't NSMakePoint work from XCode/gdb?
  • Previous by thread: Re: Using xcodebuild to trigger build and archive feature of Xcode..?
  • Next by thread: Re: no previous prototype for function that is defined in header?
  • Index(es):
    • Date
    • Thread