March 07, 2020 [Issue 20644] New: Invalid printf deprecation for ubyte passed to "%hhu" | ||||
|---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=20644 Issue ID: 20644 Summary: Invalid printf deprecation for ubyte passed to "%hhu" Product: D Version: D2 Hardware: x86 OS: Windows Status: NEW Severity: enhancement Priority: P1 Component: dmd Assignee: nobody@puremagic.com Reporter: moonlightsentinel@disroot.org -------------------------------- import core.stdc.stdio : printf; void main() { ubyte wsize; printf("%hhu\n", wsize); } -------------------------------- Deprecation: argument cast(int) wsize for format specification "%hhu" must be byte, not int -- | ||||
Copyright © 1999-2021 by the D Language Foundation
Permalink
Reply