Re: [cc65] va_copy(): Any alternatives

From: Spiro Trikaliotis <ml-cc651trikaliotis.net>
Date: 2005-05-09 10:01:57
Hello Uz,

* On Sun, May 08, 2005 at 10:33:49PM +0200 Ullrich von Bassewitz wrote:
 
> Could you please check if gcc 2.9.5 does already have something like
> va_copy (maybe called __va_copy__ or similar)? This would be the
> easiest solution.  Otherwise
> 
>         ((dest) = (src))
> 
> as proposed by Oliver Schmidt is worth a try.

Both variants work. Either Oliver's solution, or (possibly, the better
one)

   #define va_copy(dest, src) __va_copy(dest,src)

Regards,
   Spiro.

-- 
Spiro R. Trikaliotis
http://www.trikaliotis.net/
----------------------------------------------------------------------
To unsubscribe from the list send mail to majordomo@musoftware.de with
the string "unsubscribe cc65" in the body(!) of the mail.
Received on Mon May 9 10:02:07 2005

This archive was generated by hypermail 2.1.8 : 2005-05-09 10:02:09 CEST