bug-mailutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [bug-mailutils] compilation on Mac OS 10.14.3


From: Sergey Poznyakoff
Subject: Re: [bug-mailutils] compilation on Mac OS 10.14.3
Date: Sun, 24 Feb 2019 21:44:18 +0200

Hi Oliver,

Oliver Kuehn <address@hidden> 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





reply via email to

[Prev in Thread] Current Thread [Next in Thread]