
Messages in this thread

> > + va_start(args, fmt);
> Passing a va_list as an argument?
> I believe this doesn't work.
> I think you'll need to add and use:

Passing a va_list certainly does work - vprintf() etc.
What is problematical is taking the address of a va_list.

The likely problem is a 'levels of indirection' one
because, when va_list needs to be a struct (very
likely when arguments are passed in registers),
it is often declared as as array type.


 \ /
  Last update: 2012-01-05 11:45    [W:1.195 / U:0.168 seconds]
©2003-2011 Jasper Spaans