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.
Description: This is a digitally signed message part