Wietse Venema:
> Christian G?ttsche:
> > While building postfix for Debian a couple of compiler warnings show
> > up, all caused by the warning `-Wunused-result`[1].
> > 
> > Two of them are caused by attempts to silence compilers via a
> > void-cast, but GCC does not respect that, see [2].
> > One solution is to cast the negated result, i.e. `(void)! foo(...)`,
> > suggested at [3].
> 
> My solution is to ignore those who crank up compiler warning levels.
> They make no material contribution to the quality of Postfix code.

I was a bit harsh. I do not object to real defect reports, but I
see no improvement from tricks to shut up compilers with a cranked-up
noise level.

        Wietse

Reply via email to