On Mon, Apr 28, 2008 at 2:48 AM, Michael FIG <[EMAIL PROTECTED]> wrote:
> 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.
>
Ah, should have noticed that :)
Oh, well have to use preprocessor then :(
>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.
You could use Microsoft Visual Studio Express version :-
http://www.microsoft.com/express/vc/
Regards,
Aaron
_______________________________________________
fonc mailing list
[email protected]
http://vpri.org/mailman/listinfo/fonc