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

From: Christian Krüger <>
Date: 2013-03-23 22:54:08
Am 23.03.2013 21:10, schrieb Ullrich von Bassewitz:

> -v please.

??? - do you mean a verbose explanation?

If so, at least in my environment (MSVC10), va_list is a typedef to 
char* so the structure 'PrintfCtrl' has an uninitialized pointer if 'ap'
is e.g. used as copy destination in va_copy.

There are several places which contain this problematic sequence (e.g. 
SB_VPrintf) where an (uninitialized) va_list instance is used as copy 

I assume in gcc this is mapped to something different?

To unsubscribe from the list send mail to with
the string "unsubscribe cc65" in the body(!) of the mail.
Received on Sat Mar 23 22:54:15 2013

This archive was generated by hypermail 2.1.8 : 2013-03-23 22:54:19 CET