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, ...

> 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.

Yours,
  Ingo

Reply via email to