1. Tomasz Stachowiak
  2. xfBuild
Issue #24 invalid

Weird warning

Manu Evans
created an issue

{{{ module testmodule; import core.vararg;

extern(C) void Func(void *pRetPtr, ...) { va_list va; va_start(va, pRetPtr);

int x = va_arg!int(va);
float y = va_arg!float(va);

va_end(va);

// cast(int)pRetPtr = TestFunction(x, y); } }}}

{{{ warning: second parameter of 'va_start' not last named argument [enabled by default] }}}

Comments (1)

  1. Log in to comment