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

Re: Bug#580088: jack-audio-connection-kit: FTBFS on armel ("cannot convert 'int' to 'va_list'")

On Mon, May  3, 2010 at 18:13:00 +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.
va_list is very much not a pointer.  It's an opaque type, using it as a
pointer is wrong.


Attachment: signature.asc
Description: Digital signature

Reply to: