Re: [cc65] Compiler: Should xvsnprintf() work?

From: Ullrich von Bassewitz <>
Date: 2013-03-24 13:29:02

On Sun, Mar 24, 2013 at 12:09:15AM +0100, Christian Krüger wrote:
> sorry for the noise, but just one big bell rang. When I first tried
> to port the compiler to MSVC10 (4 weeks ago), I got the 'no va_copy'
> message and fixed that by copying the WATCOM defintion without
> thinking about it further.

Ok, that explains things:-)

> I've added now:
> #if defined(_MSC_VER)
> #define va_copy(dest, src)  dest = src
> #endif

There might be a __va_copy function/macro in MSC, because this is the name
from the pre C99 draft. If this is the case, then it's probably better to use
it instead of the definition above.

> 2. Interrupting a task can be even more worse than you think.

Especially when getting older. Just ask me:-)



Ullrich von Bassewitz                        
To unsubscribe from the list send mail to with
the string "unsubscribe cc65" in the body(!) of the mail.
Received on Sun Mar 24 13:29:12 2013

This archive was generated by hypermail 2.1.8 : 2013-03-24 13:29:16 CET