[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: disabling warn_unused_result attribute with FORTIFY_SOURCE?



On Thu, 2007-03-15 at 14:47 +0000, Kevin Kofler wrote:
> Kevin Kofler <kevin.kofler <at> chello.at> writes:
> > You're right, I didn't know that. That's pretty stupid, (void) has always 
> > meant "I intentionally throw away this value and I mean it". :-/
> 
> This has actually been filed as a GCC bug (which I agree it is) over a year ago 
> by Dirk Mueller from KDE. Sadly, it has been marked WONTFIX. :-(
> http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25509

It looks like it was closed WONTFIX because the gcc developers believe
the "bug" is in glibc setting warn_unused_result in the first place. gcc
is merely acting as designed. Seems reasonable to me.

Attachment: signature.asc
Description: This is a digitally signed message part


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]