https://issues.dlang.org/show_bug.cgi?id=23887
Issue ID: 23887 Summary: ImportC: extend enums to support longs Product: D Version: D2 Hardware: All OS: All Status: NEW Severity: enhancement Priority: P1 Component: dmd Assignee: nob...@puremagic.com Reporter: bugzi...@digitalmars.com >From Patrick Schluter: - enum constants bigger than uint. Full in undefined behaviour territory according to the standard, gcc defines the behaviour and defines enums as long/unsigned long/long long/unsigned long long if necessary. ImportC rejects for instance Error: enum member `lang.LANID_TYPE.LANID_GL` enum member value `4294967296LU` does not fit in an `int` --