http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49863
Summary: -Wunused-result not behaving correctly
Product: gcc
Version: 4.5.2
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c
AssignedTo: unassig...@gcc.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49863
--- Comment #2 from antomicx at gmail dot com 2011-07-27 10:29:46 UTC ---
(In reply to comment #1)
> Because glibc annotates system with the attribute only if you use
> -D_FORTIFY_SOURCE=1 or higher, and then only if optimization is enabl