digitalmars.D.bugs - [Issue 4922] New: don't work readf with char, wchar and dchar
- d-bugmail puremagic.com (39/39) Sep 23 2010 http://d.puremagic.com/issues/show_bug.cgi?id=4922
- d-bugmail puremagic.com (10/10) Sep 23 2010 http://d.puremagic.com/issues/show_bug.cgi?id=4922
- d-bugmail puremagic.com (11/11) Jan 21 2011 http://d.puremagic.com/issues/show_bug.cgi?id=4922
http://d.puremagic.com/issues/show_bug.cgi?id=4922 Summary: don't work readf with char, wchar and dchar Product: D Version: D2 Platform: x86 OS/Version: All Status: NEW Severity: major Priority: P2 Component: Phobos AssignedTo: nobody puremagic.com ReportedBy: canalpayciftci gmail.com CC: acehreli yahoo.com 11:28:15 PDT --- 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 (isArray!(T) && !isSomeString!(T)) does not match any function template declaration C:\D\dmd2\windows\bin\..\..\src\phobos\std\format.d(441): Error: template std.format.unformatValue(T,Range,Char) if (isArray!(T) && !isSomeString!(T)) cannot deduce template function from argument types !(char)(LockingTextReader,FormatSpec!(char)) C:\D\dmd2\windows\bin\..\..\src\phobos\std\format.d(441): Error: template instance errors instantiating template Please note that this works: int i; readf("%s", &i); -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Sep 23 2010
http://d.puremagic.com/issues/show_bug.cgi?id=4922 Andrei Alexandrescu <andrei metalanguage.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED CC| |andrei metalanguage.com AssignedTo|nobody puremagic.com |andrei metalanguage.com -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Sep 23 2010
http://d.puremagic.com/issues/show_bug.cgi?id=4922 Andrei Alexandrescu <andrei metalanguage.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution| |FIXED 22:36:51 PST --- http://www.dsource.org/projects/phobos/changeset/2359 -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Jan 21 2011