------- Comment #1 from joseph at codesourcery dot com  2005-12-20 23:53 -------
Subject: Re:   New: can't voidify __attribute__((warn_unused_result))

On Tue, 20 Dec 2005, mueller at kde dot org wrote:

> casting to (void) doesn't avoid the unused_result warning. testcase: 

Why do you think this is a bug?  warn_unused_result is for cases where 
"not checking the result is either a security problem or always a bug".


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25509

Reply via email to