July 27, 2004 template/stdarg bug | ||||
|---|---|---|---|---|
| ||||
D:\code\d>type test6.d
private import std.stdarg;
private import std.stdio;
int sreadf( ... )
{
va_arg!(char[])( _argptr );
return 0;
}
int main()
{
writef( "hello world" );
return 0;
}
D:\code\d>dmd test6
D:\bin\dmd\bin\..\..\dm\bin\link.exe test6,,,user32+kernel32/noi;
OPTLINK (R) for Win32 Release 7.50B1
Copyright (C) Digital Mars 1989 - 2001 All Rights Reserved
D:\bin\dmd\bin\..\lib\phobos.lib(format) Offset 16479H Record Type 00C3 Error 1: Previous Definition Different : _D3std6stdarg9va_arg_Aa6va_argFKPvZAa
--- errorlevel 1
| ||||
Copyright © 1999-2021 by the D Language Foundation
Permalink
Reply