[dmd-beta] dmd 1.067 alpha

Robert Clipsham robert at octarineparrot.com
Sat Jan 15 11:49:45 PST 2011


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/



More information about the dmd-beta mailing list