Testing build failure with latest GCC

Cyril Hrubis chrubis@suse.cz
Mon May 29 14:27:00 GMT 2017


Hi!
> > The f* stream functions are special. You can check for errors using
> > the return value, or using ferror. Therefore, the attribute might not
> > be correct.
> > 
> > Considering how difficult is to bypass warn-used attribute (a cast to
> > void is not enough), I wonder if we should drop the attribute.
> 
> That is a good point, I thought a '(void)' cast could fix this but I
> see that it does not.

FYI that's bug: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66425

-- 
Cyril Hrubis
chrubis@suse.cz



More information about the Libc-alpha mailing list