Hi,
As one of the more frequent users of archetechtures where you can't copy
va_lists by
simple assignment ( ppc-linux being most prominent ) , I'd wager to say
to not
be able to do so is _not_ a compiler bug. Actually, it works on
IA32-linux only
because a va_list is a single pointer there.
Assuming C99 and using va_copy is ok as long as it's Linux.
Otherwise, the only solution is to store a pointer to the original
va_list, as Tumoa said,
because va_list is such a special thing in C :-( )
Karl
- Portability issue Per Olofsson
- Re: Portability issue Tuomo Valkonen
- Re: Portability issue Per Olofsson
- Re: Portability issue Tuomo Valkonen
- Re: Portability issue Karl
- Re: Portability issue Tuomo Valkonen
