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

Page principale
Supprimer ce message
Répondre à ce message
Auteur: Michael J. Tubby B.Sc. MIET
Date:  
À: exim-users
Sujet: Re: [exim] Exim 4.89 compile warning on Ubuntu 14.04


On 3/8/2017 1:03 PM, Eduardo M KALINOWSKI wrote:
> 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.


Here's the GCC version:

     gcc version 4.8.4 (Ubuntu 4.8.4-2ubuntu1~14.04.3)



Mike