[Issue 3644] New: Wrong UCHAR_MAX value in module core.stdc.limits
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Thu Dec 24 05:23:01 PST 2009
http://d.puremagic.com/issues/show_bug.cgi?id=3644
Summary: Wrong UCHAR_MAX value in module core.stdc.limits
Product: D
Version: 2.032
Platform: Other
OS/Version: Windows
Status: NEW
Severity: normal
Priority: P2
Component: druntime
AssignedTo: sean at invisibleduck.org
ReportedBy: 2korden at gmail.com
--- Comment #0 from Koroskin Denis <2korden at gmail.com> 2009-12-24 05:22:57 PST ---
It's a simple typo:
// Currently
enum UCHAR_MAX = ubyte.min;
enum CHAR_MIN = char.max;
// Should be
enum UCHAR_MAX = ubyte.max;
enum CHAR_MIN = char.min;
It's a trivial fix, but I have to manually patch druntime each new release of
DMD so the fix is highly appreciated.
--
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
More information about the Digitalmars-d-bugs
mailing list