[Issue 1591] 2.006 breaks writef("%s", str) where str is a string

d-bugmail at puremagic.com d-bugmail at puremagic.com
Wed Oct 17 18:45:36 PDT 2007


http://d.puremagic.com/issues/show_bug.cgi?id=1591





------- Comment #1 from ddparnell at bigpond.com  2007-10-17 20:45 -------
This does NOT fail for me when using dmd 2.006 (Windows XP)

----

c:\temp>type test.d
import std.stdio;
void main()
{
string str = "hello, world";
writefln("%s", str);
}

c:\temp>dmd test.d
y:\dmd\bin\..\..\dm\bin\link.exe test,,,user32+kernel32/noi;

c:\temp>test
hello, world

c:\temp>dmd
Digital Mars D Compiler v2.006
Copyright (c) 1999-2007 by Digital Mars written by Walter Bright
----


-- 



More information about the Digitalmars-d-bugs mailing list