> Date: Sat, 22 Jul 2017 17:49:19 +0200 > From: Ingo Schwarze <[email protected]> > > Hi Mark, > > Mark Kettenis wrote on Sat, Jul 22, 2017 at 04:11:03PM +0200: > > > int foo(void) __attribute__((warn_unused_result)); > > > > I think it would be good if you started using that > > in our system headers for some functions. > > Sounds worth considering, ...
Meant to write "if we started using" there. Didn't want to imply you'd do the work ;). > > > clang allows one to suppress the warning > > by using the (void) cast, gcc doesn't though. > > ... but the lack of that feature in GCC > feels like a show stopper to me. We'd only do it for the really serious ones.
