Hi Oliver,

Oliver Kuehn <[email protected]> ha escrit:

> shell.c:328:27: error: expected expression
>     (rl_completion_func_t*) shell_completion;
>                           ^
> shell.c:328:6: error: use of undeclared identifier
>     'rl_completion_func_t'; did you mean 'rl_completion_matches'?

You use an outdated version of readline.

> shell.c:426:25: warning: incompatible pointer types assigning to 'Function *' 
> (aka 'int (*)(const char *, int)') from 'int (void)' 
> [-Wincompatible-pointer-types]

The 'Function' typedef was removed from readline 4.3 (some 17 years
ago). Current version of readline is 8.0 (released one month ago).

There are two choices:

1) Install newer readline (at least 5.2)

or

2) Configure mailutils without readline:

  ./configure --without-readline

Regards,
Sergey



_______________________________________________
Bug-mailutils mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/bug-mailutils

Reply via email to