On 4/9/12, Jonas <jo...@lophus.org> wrote: > On Saturday, 7 April 2012 at 22:42:19 UTC, Stefan wrote: >> printf is a C function which expects 0-terminated strings. D's >> strings are variable-length arrays and not zero-terminated. >> >> Don't use printf. Try using writef instead. Same arguments. > > http://d.puremagic.com/issues/show_bug.cgi?id=7872
I don't think the compiler can warn about this. Isn't printf one of those unsafe C variadic functions? Someone correct me if I'm wrong.