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

Page principale
Supprimer ce message
Répondre à ce message
Auteur: Eduardo M KALINOWSKI
Date:  
À: exim-users
Sujet: 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@???