[Issue 20669] Deprecation when passing string length as printf argument

d-bugmail at puremagic.com d-bugmail at puremagic.com
Thu Mar 12 00:00:02 UTC 2020


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

moonlightsentinel at disroot.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |INVALID

--- Comment #3 from moonlightsentinel at disroot.org ---
Actually, %.s denotes a string with width 0 (the number is optional), length as
an additional argument requires an additional asterix %.*s.

Closing but we could probably improve the error message.

--


More information about the Digitalmars-d-bugs mailing list