disabling warn_unused_result attribute with FORTIFY_SOURCE?

Ulrich Drepper drepper at redhat.com
Thu Mar 15 14:29:08 UTC 2007


Kevin Kofler wrote:
> The _easy_ way to get rid of the warnings is to cast the unused results to 
> void.

No, gcc won't fall for that.

-- 
➧ Ulrich Drepper ➧ Red Hat, Inc. ➧ 444 Castro St ➧ Mountain View, CA ❖

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 251 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/fedora-devel-list/attachments/20070315/16815154/attachment.sig>


More information about the fedora-devel-list mailing list