[prev in list] [next in list] [prev in thread] [next in thread]
List: exim-users
Subject: Re: [exim] gcc 8.3 warnings and local scan
From: David Saez Padros via Exim-users <exim-users () exim ! org>
Date: 2019-12-12 10:57:14
Message-ID: 192dafff-6649-0203-e995-2fb36a5b6249 () ols ! es
[Download RAW message or body]
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
----------------------------------------------------------------
--
## List details at https://lists.exim.org/mailman/listinfo/exim-users
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://wiki.exim.org/
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic