[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
disabling warn_unused_result attribute with FORTIFY_SOURCE?
- From: Matthew Miller <mattdm mattdm org>
- To: fedora-devel-list redhat com
- Subject: disabling warn_unused_result attribute with FORTIFY_SOURCE?
- Date: Wed, 14 Mar 2007 22:30:20 -0400
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)
fuction. In turn, this makes many perfectly good programs spit out hundreds
of warnings. I'm not sure this is necessarily good.
Unlike other warnings, though, there doesn't seem to be a way to turn it
off. Is there one I'm missing?
I'd like to clean up all the real errors and turn on -Werror....
--
Matthew Miller mattdm mattdm org <http://mattdm.org/>
Boston University Linux ------> <http://linux.bu.edu/>
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]