[exim] gcc 8.3 warnings and local scan

Páxina inicial
Borrar esta mensaxe
Responder a esta mensaxe
Autor: David Saez Padros
Data:  
Para: exim-users
Asunto: [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
----------------------------------------------------------------