Re: Request assistance with GCC Warnings
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