Re: readf bug in the std.stdio

2010-09-30 Thread Ivan Melnychuk
On 17.09.2010 22:28, Can Alpay Çiftçi wrote: Code: import std.stdio; void main() { char a; wchar b; dchar c; readf("%s %s %s",&a,&b,&c); } The strings (char arrays) are handled specially, therefore the [w|d]char arrays cannot be read. But are you sure you need to read c

readf bug in the std.stdio

2010-09-17 Thread Can Alpay Çiftçi
Code: import std.stdio; void main() { char a; wchar b; dchar c; readf("%s %s %s", &a,&b,&c); } Error : dmd -w -c "isimsiz.d" (C:\Program Files\Geany ) C:\D\dmd2\windows\bin\..\..\src\phobos\std\format.d(441): Error: template std.format.unformatValue(T,Range,Char) if (