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

Re: Building mozart-gtk on powerpc [request for help]



On Tue, Aug 24, 2004 at 06:21:57PM +0200, Kevin Glynn wrote:
> fyi, it is because va_list is declared as a one-element array of
> structs on powerpc, unlike other architectures so code like:
> 
> va_list Arg4 = (va_list) OZ_getForeignPointer((*(_OZ_LOC[(4)])));
> 
> fails on powerpc, because you can't cast to an array.

And you may not assign to a va_list. Use va_copy() instead to be
portable.

Daniel.



Reply to: