Re: [exim] Exim 4.89 compile warning on Ubuntu 14.04

Top Page
Delete this message
Reply to this message
Author: Eduardo M KALINOWSKI
Date:  
To: exim-users
Subject: Re: [exim] Exim 4.89 compile warning on Ubuntu 14.04
On Qua, 08 Mar 2017, Michael J. Tubby B.Sc. MIET wrote:
> exim.c:235:1: warning: ignoring return value of ‘write’, declared
> with attribute warn_unused_result [-Wunused-result]
> (void)write(fd, process_info, process_info_len);


That's weird, the void cast should signal the compiler that the return
value is being deliberately ignored and no warning should be generated.
--
Eduardo M KALINOWSKI
eduardo@???