mc 4.8.13 compile error

Andrew Borodin aborodin at vmail.ru
Tue Oct 7 04:49:25 UTC 2014


On Thu, 18 Sep 2014 09:18:15 -0400 (EDT) John Kennerson wrote:
> mc 4.8.13 compile error
[...]
> make[3]: Entering directory `/home/john/tmp/mc-4.8.13/lib'
>   CC       glibcompat.lo
> glibcompat.c: In function 'g_error_new_valist':
> glibcompat.c:156: error: 'ap' undeclared (first use in this function)
> glibcompat.c:156: error: (Each undeclared identifier is reported only once
> glibcompat.c:156: error: for each function it appears in.)
> glibcompat.c:156: error: 'va_start' used in function with fixed args
> glibcompat.c:151: warning: unused parameter 'args' [-Wunused-parameter]
[...]
> Any ideas as to the problem?

There is missing include of stdarg.h in lib/glibcompat.h.

-- 
Andrew




More information about the mc mailing list