[exim] gcc 8.3 warnings and local scan

Page principale
Supprimer ce message
Répondre à ce message
Auteur: David Saez Padros
Date:  
À: exim-users
Sujet: [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
----------------------------------------------------------------