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

Julien Cristau jcristau at debian.org
Mon May 3 17:12:25 UTC 2010


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.

Cheers,
Julien
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-multimedia-maintainers/attachments/20100503/4ac871cb/attachment.pgp>


More information about the pkg-multimedia-maintainers mailing list