FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Debian > Debian Development

 
 
LinkBack Thread Tools
 
Old 05-03-2010, 04:13 PM
Adrian Knoth
 
Default Bug#580088: jack-audio-connection-kit: FTBFS on armel ("cannot convert 'int' to 'va_list'")

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?



TIA

--
mail: adi@thur.de http://adi.thur.de PGP/GPG: key via keyserver


--
To UNSUBSCRIBE, email to debian-devel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 20100503161300.GQ12148@ltw.loris.tv">http://lists.debian.org/20100503161300.GQ12148@ltw.loris.tv
 
Old 05-03-2010, 05:10 PM
Adrian Knoth
 
Default Bug#580088: jack-audio-connection-kit: FTBFS on armel ("cannot convert 'int' to 'va_list'")

On Mon, May 03, 2010 at 05:50:39PM +0100, Simon McVittie wrote:

> > The code in question:
> >
> > jack_client_open_aux(client_name, (jack_options_t)options, NULL, NULL);
>
> Instead of trying to fake up an empty va_list, why not call the varargs
> version, with only the argument terminator in its varargs?
>
> jack_client_open(client_name, (jack_options_t)options, NULL, NULL);

Absolutely. I've been blind.


Thanks, this should work.

--
mail: adi@thur.de http://adi.thur.de PGP/GPG: key via keyserver


--
To UNSUBSCRIBE, email to debian-devel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 20100503171003.GS12148@ltw.loris.tv">http://lists.debian.org/20100503171003.GS12148@ltw.loris.tv
 

Thread Tools




All times are GMT. The time now is 07:17 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org