Compiling exim-4.90 with local_scan produces errors on
cancel_cutthrough_connection():
../Local/local_scan.c:1124:6: warning: passing argument 1 of
'cancel_cutthrough_connection' makes integer from pointer without a cast
[enabled by default]
cancel_cutthrough_connection("routing hard fail");
^
In file included from ./exim.h:498:0,
from ../Local/local_scan.c:20:
./functions.h:116:16: note: expected 'BOOL' but argument is of type 'char *'
extern void cancel_cutthrough_connection(BOOL, const uschar *);
^
../Local/local_scan.c:1124:6: error: too few arguments to function
'cancel_cutthrough_connectio'
cancel_cutthrough_connection("routing hard fail");
^
In file included from ./exim.h:498:0,
from ../Local/local_scan.c:20:
./functions.h:116:16: note: declared here
extern void cancel_cutthrough_connection(BOOL, const uschar *);
...
There are more, but they all look like dups of the same issue.