digitalmars.D.bugs - [Issue 22898] New: [REG master] Solaris: byte.min value is 128
- d-bugmail puremagic.com (33/33) Mar 18 2022 https://issues.dlang.org/show_bug.cgi?id=22898
https://issues.dlang.org/show_bug.cgi?id=22898 Issue ID: 22898 Summary: [REG master] Solaris: byte.min value is 128 Product: D Version: D2 Hardware: All OS: Solaris Status: NEW Severity: regression Priority: P1 Component: dmd Assignee: nobody puremagic.com Reporter: ibuclaw gdcproject.org druntime/core/stdc/stdint.d: --- alias int8_t = char; alias uint8_t = ubyte; dmd/globals.d: --- alias d_int8 = int8_t; alias d_uns8 = uint8_t; dmd/expression.d: --- case Tint8: result = cast(d_int8)value; break; case Tchar: case Tuns8: result = cast(d_uns8)value; break; --- D sees both char and ubyte as having the same signed-ness. --
Mar 18 2022