This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc 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]

Re: Testing build failure with latest GCC


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


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