• 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: GCC failed with exit code 1?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: GCC failed with exit code 1?


  • Subject: Re: GCC failed with exit code 1?
  • From: Eamon Ford <email@hidden>
  • Date: Sun, 12 Aug 2007 17:18:48 -0700

Thanks guys. That was the problem. I'll pay more attention to the warnings next time. :)


On Aug 12, 2007, at 3:30 PM, Alastair Houghton wrote:

On 12 Aug 2007, at 22:57, Peter Mulholland wrote:

/Users/eamonford/Desktop/Recordotron/AppController.m:61: warning:
unused variable 'samples'

So, GCC is reporting compile failed because you had a warning. Turn off "Warnings as Errors" in the compiler settings.

Better: fix the warning!

Seriously, whether you choose to use warnings-as-errors or not, pay attention to and fix compiler warnings. Some of them will prevent hard-to-find bugs in your code.

Kind regards,

Alastair.

--
http://alastairs-place.net





_______________________________________________ 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
References: 
 >GCC failed with exit code 1? (From: Eamon Ford <email@hidden>)
 >Re: GCC failed with exit code 1? (From: Peter Mulholland <email@hidden>)
 >Re: GCC failed with exit code 1? (From: Alastair Houghton <email@hidden>)

  • Prev by Date: Fwd: Problems: Shark, Compiling Options and Source Code Viewing
  • Next by Date: Re: Problems: Shark, Compiling Options and Source Code Viewing
  • Previous by thread: Re: GCC failed with exit code 1?
  • Next by thread: How to Run more than one executable at the same time
  • Index(es):
    • Date
    • Thread