On 15/01/11 19:46, Walter Bright wrote:


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;

:-)

This was the work around I used, is it really needed though? Works fine without the import for x86-32.

--
Robert
http://octarineparrot.com/

_______________________________________________
dmd-beta mailing list
[email protected]
http://lists.puremagic.com/mailman/listinfo/dmd-beta

Reply via email to