[Digikam-devel] [Pkg-kde-extras] Bug#396747: FTBFS (alpha): attempt to use output operater '<<' on va_list

Caulier Gilles caulier.gilles at kdemail.net
Sat Nov 4 09:54:50 GMT 2006


Le Vendredi 03 Novembre 2006 11:29 PM, Steve Langasek a écrit :
> On Fri, Nov 03, 2006 at 06:17:36PM +0000, Mark Purcell wrote:
> > Also, i suspect than va_list type is unknow on Alpha. This type is
> > defined by libtiff. Perhaps header files from this library are different
> > between i386 and Alpha.
>
> This is wrong.  Falk already explained why it was failing: va_list is an
> *opaque type* per the C standard, you are not allowed to cast it, print it,
> dereference it, or assign to it in standards-compliant code.  The only
> legal operations are va_copy(), va_start(), va_end(), and va_arg().
>
> The reason that non-standard operations work on some other architectures
> but not on alpha has to do with the C function calling conventions on the
> different archs, but that's not all that relevant; the bottom line is that
> you will never have a << operator for va_list that works on alpha.  Which
> means that the proposed workaround -- eliminating the debug statements that
> try to output va_list -- is actually the correct fix.
>
> Thanks,

Fixed in svn by commit #601741.

Gilles



More information about the Digikam-devel mailing list