http://d.puremagic.com/issues/show_bug.cgi?id=7241
Summary: std.format can't read into array of dchar
Product: D
Version: D2
Platform: x86_64
OS/Version: Linux
Status: NEW
Severity: regression
Priority: P2
Component: Phobos
AssignedTo: [email protected]
ReportedBy: [email protected]
--- Comment #0 from Jerry Quinn <[email protected]> 2012-01-06 23:30:36 PST
---
Compiling the following code gives:
import std.stdio;
void foo() {
File f;
dchar[1] dc;
f.readf("%s", dc);
}
dmd -c junk2.d
/usr/include/d/dmd/phobos/std/format.d(439): Error: using * on an array is
deprecated; use *(_param_2).ptr instead
This worked in dmd 2.056. My reading of the docs says it should work :-)
--
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------