Robert Clipsham wrote:
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).
test.d:
----
void foo(int, ...)
{
}
----
dmd -c -m64 test.d gives:
test.d(1): Error: '__va_argsave_t' is not defined, perhaps you need
to import std.c.stdarg; ?
You need to add:
import std.c.stdarg;
:-)
test.d(1):
Error: __va_argsave_t is used as a type
test.d(1): Error: variable test.foo.__va_argsave voids have no value
|
_______________________________________________
dmd-beta mailing list
[email protected]
http://lists.puremagic.com/mailman/listinfo/dmd-beta