[Issue 20644] New: Invalid printf deprecation for ubyte passed to "%hhu"
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Sat Mar 7 12:45:32 UTC 2020
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 at puremagic.com
Reporter: moonlightsentinel at 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
--
More information about the Digitalmars-d-bugs
mailing list