www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 20645] New: Invalid printf deprecation for width + precision

https://issues.dlang.org/show_bug.cgi?id=20645

          Issue ID: 20645
           Summary: Invalid printf deprecation for width + precision
           Product: D
           Version: D2
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: P1
         Component: dmd
          Assignee: nobody puremagic.com
          Reporter: moonlightsentinel disroot.org

As found in DMDs runnable/dhry.d:

------------------------------------

double Microseconds,
printf ("%7.1lf \n", Microseconds);

------------------------------------

runnable\dhry.d(615): Deprecation: format specifier `"%7.1lf"` is invalid

--
Mar 07 2020