4.8.13 compile errors

Mike Smithson mdooligan at gmail.com
Fri Nov 7 22:39:17 UTC 2014


lib/glibcompat.c, ~ line 156, func

GError *
g_error_new_valist
(GQuark domain, gint code, const gchar * format, va_list args)

will not compile.

'va_list args' must be 'va_list ap'

and you cannot use va_start in a function without '...' in the args.
I had to comment out the 'va_start (ap,format);'. I'm guessing it
was already called in the calling function, but I have not checked
yet.


-- 
Peace and Cheer



More information about the mc-devel mailing list