• 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
Re: Error codes
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Error codes


  • Subject: Re: Error codes
  • From: Brendan Younger <email@hidden>
  • Date: Sun, 20 Jul 2008 23:34:54 -0400


On Jul 20, 2008, at 10:51 PM, Michael wrote:


I am doing very basic programming..learning actually...and using Xcode for C. Error codes generated in this code appear routinely... ( in my code at least). I just wondered if there is a source of these. I am sure that you are correct and this simply reflects the compiler that Xcode uses? Although, not sure about this.
Hope that clarifies this a little.


On Jul 20, 2008, at 7:45 PM, David Dunham wrote:
In other words, be a lot more specific about what you're trying to do and figure out.

If you're seeing these errors as output when you try compiling something, then it usually doesn't mean anything particular. Xcode relies on a bunch of command line programs like gcc, ld, cp, etc. which, following Unix tradition, return 0 when no error occurred (i.e. your code compiled just fine) and return 1 when an error occurred (no matter what the error was). You have to look at the output from program in the Build window to see what went wrong. There's a small button which looks like lines of text near the bottom of the Build window which will show you the output of the build process.


Brendan

_______________________________________________
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: Error codes
      • From: Michael <email@hidden>
References: 
 >Error codes (From: Michael <email@hidden>)
 >Re: Error codes (From: David Dunham <email@hidden>)
 >Re: Error codes (From: Michael <email@hidden>)

  • Prev by Date: Re: Problem compiling first Cocoa app in Xcode 3.1
  • Next by Date: Re: Problem compiling first Cocoa app in Xcode 3.1
  • Previous by thread: Re: Error codes
  • Next by thread: Re: Error codes
  • Index(es):
    • Date
    • Thread