[Issue 12450] New: Deprecated code in std.stdio.readf

d-bugmail at puremagic.com d-bugmail at puremagic.com
Mon Mar 24 05:31:29 PDT 2014


https://d.puremagic.com/issues/show_bug.cgi?id=12450

           Summary: Deprecated code in std.stdio.readf
           Product: D
           Version: D2
          Platform: x86
        OS/Version: Windows
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Phobos
        AssignedTo: nobody at puremagic.com
        ReportedBy: bearophile_hugs at eml.cc


--- Comment #0 from bearophile_hugs at eml.cc 2014-03-24 05:31:28 PDT ---
void main() {
    import std.stdio: readf, stdin;
    int[] v;
    stdin.readf("%(%d %)", v);
}


dmd 2.066alpha:

...\dmd2\src\phobos\std\format.d(575,26): Deprecation: using * on an array is
deprecated; use *(_param_2).ptr instead
...\dmd2\src\phobos\std\format.d(586,13): Deprecation: using * on an array is
deprecated; use *(_param_2).ptr instead

-- 
Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------


More information about the Digitalmars-d-bugs mailing list