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/

Reply via email to