Re: [exim] gcc 8.3 warnings and local scan

Góra strony
Delete this message
Reply to this message
Autor: David Saez Padros
Data:  
Dla: exim-users
Temat: Re: [exim] gcc 8.3 warnings and local scan
Hi

yes, and i found that the problem is that in local_scan.h string_copy
functions are only defined if defined(LOCAL_SCAN) ||
defined(DLFUNC_IMPL) so i had to #define LOCAL_SCAN before
including local_scan.h, after that it worked ok


> On 12/12/2019 09:40, David Saez Padros via Exim-users wrote:
>> I'm getting this warnings when compiling local scan functions with
>> gcc 8.3 and Exim 4.93
>>
>> geoip.c:16:11: warning: implicit declaration of function ‘string_copy’;
>> did you mean ‘strncpy’? [-Wimplicit-function-declaration]
>>   *yield = string_copy(US"Bad number of arguments");
>
> It is a #define in local_scan.h - did you #include that?
>


--
Best regards ...

----------------------------------------------------------------
    David Saez
    On-Line Services 2000 S.L.
    http://www.ols.es
----------------------------------------------------------------