[exim] gcc 8.3 warnings and local scan

Kezdőlap
Üzenet törlése
Válasz az üzenetre
Szerző: David Saez Padros
Dátum:  
Címzett: exim-users
Tárgy: [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
----------------------------------------------------------------