• 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
C prototype warning
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

C prototype warning


  • Subject: C prototype warning
  • From: "James W. Walker" <email@hidden>
  • Date: Sun, 9 Dec 2007 22:43:06 -0800

When I compile the following C code with Xcode 3, I get a warning, "'bar' was used with no prototype before its definition". Since the very first thing here is a prototype of bar, I don't get it.


static void bar();

static void foo()
{
	bar();
}

static void bar()
{

}

_______________________________________________
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: C prototype warning
      • From: Philip Aker <email@hidden>
  • Prev by Date: Re: Expanding "this" kills my application
  • Next by Date: Framework development and Garbage collection required option?
  • Previous by thread: Re: Leaks question
  • Next by thread: Re: C prototype warning
  • Index(es):
    • Date
    • Thread