• 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: Request assistance with GCC Warnings
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Request assistance with GCC Warnings


  • Subject: Re: Request assistance with GCC Warnings
  • From: Dave Carrigan <email@hidden>
  • Date: Thu, 25 Jun 2009 16:30:44 -0700


On Jun 25, 2009, at 4:13 PM, Eric Hermanson wrote:

I realize this is really a GCC question, and not a Cocoa question, but I can't seem to find an adequate answer on the web. Considering I'm from a strictly Java background, I was hoping someone could clue me in to what the following two GCC warnings mean, if I should worry about them, how to fix them (or how to silence the warnings):

It has to do with GCC's stack-smashing protection extensions. It's basically telling you that it is unable to protect the stack for those functions for the reasons provided in the error. It doesn't mean that there's a bug, it just means that those particular functions won't be able to benefit from the protection mechanisms.


You can either turn off stack protection -fno-stack-protection or turn of the warnings -Wno-stack-protector.

As far as I know, there is no pragma yet to disable either protection or the warning for a single function.

--
Dave Carrigan
email@hidden
Seattle, WA, USA

Attachment: PGP.sig
Description: This is a digitally signed message part

_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

References: 
 >Request assistance with GCC Warnings (From: Eric Hermanson <email@hidden>)

  • Prev by Date: Re: Number of images in main bundle folder (iPhone)
  • Next by Date: document specific "as-you-type" spell checking
  • Previous by thread: Request assistance with GCC Warnings
  • Next by thread: document specific "as-you-type" spell checking
  • Index(es):
    • Date
    • Thread