FYI
[code]
# include <stdarg.h>
void setup() {
// put your setup code here, to run once:
//void ATCStateMachine::DebugMsg(const char *fmt, ...)
//{
// if (DebugEnable)
// {
char *fmt;
char s[256];
va_list args;
va_start (args, fmt);
vsprintf (s, fmt, args);
// pCmdQueue->PushDebug(new ATCStringMessage(DebugSrc, DebugDest, s));
va_end (args);
// }
}
void loop() {
// put your main code here, to run repeatedly:
}
[/code]
Here are errors using 1.6.6 ( nightly build) ARM / Due on XP.
Nothing directly about not being able to use / find va_list
sketch_nov02b.ino: In function 'void setup()':
sketch_nov02b.ino:14:27: error: 'va_start' used in function with fixed args
'va_start' used in function with fixed args