www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 12450] New: Deprecated code in std.stdio.readf

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 puremagic.com
        ReportedBy: bearophile_hugs eml.cc



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: -------
Mar 24 2014