Hi,

"Aaron Gray" <[EMAIL PROTECTED]> writes:

>       va_start( ap, rcv);
>       _c = (struct __closure *) _libid->bind( msg, _r);
>       ret = (_c->method)( (oop) _c, _r, _r, ap);
>       va_end( ap);

This changes the calling convention... the "ap" argument does not pass
the remaining arguments on the stack, it passes a pointer to them, so
they wouldn't be usable as named parameters.

I think using the __VA_ARGS__ macro is best for MSVC, as per the
reference Krzysztof posted.  Too bad it was introduced in Visual C++
2005... I only have access to 2003.

-- 
Michael FIG <[EMAIL PROTECTED]> //\
   http://michael.fig.org/    \//

_______________________________________________
fonc mailing list
fonc@vpri.org
http://vpri.org/mailman/listinfo/fonc

Reply via email to