disabling warn_unused_result attribute with FORTIFY_SOURCE?
Matthew Miller
mattdm at mattdm.org
Thu Mar 15 04:03:03 UTC 2007
On Wed, Mar 14, 2007 at 08:11:52PM -0700, Ulrich Drepper wrote:
> > My google-fu is failing me; I can't find any documentation on this.
> > Apparently, building with -Wp,-D_FORTIFY_SOURCE=2 results in the
> > warn_unused_result attribute being added to every (? or maybe just many)
> Only cases without valid cases where ignoring the value might be correct.
Okay, good to know. There's *so many* in this program it seemed like it must
be a mistake. :)
Thanks very much.
--
Matthew Miller mattdm at mattdm.org <http://mattdm.org/>
Boston University Linux ------> <http://linux.bu.edu/>
More information about the fedora-devel-list
mailing list