[exim] gcc 8.3 warnings and local scan

Top Page
Delete this message
Reply to this message
Author: David Saez Padros
Date:  
To: exim-users
Subject: [exim] gcc 8.3 warnings and local scan
Hi

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");
            ^~~~~~~~~~~
            strncpy
geoip.c:16:9: warning: assignment to ‘uschar *’ {aka ‘unsigned char *’} 
from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
   *yield = string_copy(US"Bad number of arguments");
          ^


--
Best regards ...

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