Re: [cc65] Varargs

From: Ullrich von Bassewitz <uz1musoftware.de>
Date: 2009-03-21 19:52:22
Hi!

On Fri, Mar 20, 2009 at 04:49:25PM -0500, Dan Winslow wrote:
> Is this a valid way to handle varargs in CC65?

No.

>     va_start(s,vargs);

This must read "va_start(vargs, s)". Because of the wild casts used within
stdarg.h there is probably no warning.

Regards


        Uz


-- 
Ullrich von Bassewitz                                  uz@musoftware.de
----------------------------------------------------------------------
To unsubscribe from the list send mail to majordomo@musoftware.de with
the string "unsubscribe cc65" in the body(!) of the mail.
Received on Sat Mar 21 19:54:51 2009

This archive was generated by hypermail 2.1.8 : 2009-03-21 19:54:54 CET