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
d...@rudedog.org
Seattle, WA, USA

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

_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to