On Sunday, 22 September 2013 at 17:15:15 UTC, Mike Wey wrote:
I've reduced the code causing the error to this:
```
public enum GTokenType
{
NONE,
}
public enum GtkRcTokenType
{
INVALID = GTokenType.NONE,
INCLUDE,
}
```
In this case the value of INVALID + 1 isn't large enough the
overflow an int.
In the actual code:
https://github.com/gtkd-developers/GtkD/blob/master/src/gtkc/glibtypes.d#L1310
Setting NONE to a value lower than 87 makes it so the code
compiles without error, which only makes things weirder.
Thanks, that's helpful.