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.
dsource changeset 239: http://www.dsource.org/projects/druntime/changeset/239
Fixed dmd 2.041