Re: mc 4.8.13 compile error



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



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