http://d.puremagic.com/issues/show_bug.cgi?id=11101
Walter Bright <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |INVALID --- Comment #3 from Walter Bright <[email protected]> 2013-09-22 17:20:11 PDT --- It should fail to compile with NONE larger than 110. The algorithm is if GTokenType.LAST==GTokenType.max, then attempting to calculate GTokenType.LAST+1 overflows it. To get what you are looking for, use: enum GtkRcTokenType { INVALID = GTokenType.LAST + 1, INCLUDE, } which will compile successfully. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
