[exim] gcc 8.3 warnings and local scan

トップ ページ
このメッセージを削除
このメッセージに返信
著者: David Saez Padros
日付:  
To: exim-users
題目: [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
----------------------------------------------------------------