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

Sebastian Dröge slomo at circular-chaos.org
Mon May 3 16:44:45 UTC 2010


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.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part
URL: <http://lists.alioth.debian.org/pipermail/pkg-multimedia-maintainers/attachments/20100503/108562f5/attachment.pgp>


More information about the pkg-multimedia-maintainers mailing list