This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c/49863] -Wunused-result not behaving correctly


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 enabled:

I got it. Just out of curiosity, is this feature documented somewhere (apart
from source code, obviously ;-) )?

Thanks!


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]