<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
<br>
<br>
Robert Clipsham wrote:
<blockquote cite="mid:igs32v$j46$1@dough.gmane.org" type="cite"><br>
It seems the following doesn't work yet? (First issue I hit while
trying to run tango unittests - it compiles fine with the exception of
the 64bit vararg support for dmd which I'm working on).
<br>
test.d:
<br>
----
<br>
void foo(int, ...)
<br>
{
<br>
}
<br>
----
<br>
dmd -c -m64 test.d gives:
<br>
<br>
test.d(1): Error: '__va_argsave_t' is not defined, <b>perhaps you need
to import std.c.stdarg;</b> ?
<br>
</blockquote>
<br>
You need to add:<br>
<br>
import std.c.stdarg;<br>
<br>
:-)<br>
<br>
<blockquote cite="mid:igs32v$j46$1@dough.gmane.org" type="cite">test.d(1):
Error: __va_argsave_t is used as a type
<br>
test.d(1): Error: variable test.foo.__va_argsave voids have no value
<br>
<br>
</blockquote>
</body>
</html>