What happened to _argptr ?

Tomas Lindquist Olsen tomas at famolsen.dk
Wed Feb 7 00:45:08 PST 2007


I'm trying to compile a pretty simple C-style variadic function.

extern(C)
void error(char* fmt, ...)
{
        vprintf(fmt, _argptr);
}

This gives the error:
Error: undefined identifier _argptr

According to http://digitalmars.com/d/function.html this should at least
compile.

Whats up?



More information about the Digitalmars-d mailing list