On Mon, 2010-05-03 at 18:13 +0200, Adrian Knoth wrote:
> On Mon, May 03, 2010 at 04:00:14PM +0100, Adam D. Barratt wrote:
> > ../common/JackAPI.cpp:303: error: cannot convert 'int' to 'va_list'
> > for argument '4' to 'jack_client_t* jack_client_open_aux(const char*,
> > jack_options_t, jack_status_t*, va_list)'
> The code in question:
>    jack_client_open_aux(client_name, (jack_options_t)options, NULL, NULL);
> Obviously, arg4 is NULL, so the message means the compiler cannot
> convert 0 to a va_list, which should be (more or less) a pointer. Or at
> least was until some va_list mangling in gcc-4.4.
> I don't have a clue: anybody more common with ARM specifics around?

va_list is not an integral type on many architectures, i.e. you can't
pass NULL as va_list. No idea what can be done to get around this... for
copying there's the __va_copy() macro in glibc for exactly the same
reason so maybe there's something similar for an empty va_list.

Attachment: signature.asc
Description: This is a digitally signed message part

pkg-multimedia-maintainers mailing list

Reply via email to