digitalmars.D.bugs - template/stdarg bug
- Sean Kelly (20/20) Jul 26 2004 D:\code\d>type test6.d
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
Jul 26 2004