[Issue 22665] ImportC: enums are not "implicitly converting" to their own type.
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Thu Jan 13 07:19:25 UTC 2022
https://issues.dlang.org/show_bug.cgi?id=22665
Walter Bright <bugzilla at digitalmars.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |bugzilla at digitalmars.com
--- Comment #1 from Walter Bright <bugzilla at digitalmars.com> ---
The trouble here is that in C11, 6.7.2.2-3 says "The identifiers in an
enumerator list are declared as constants that have type int". I'll see what I
can do.
--
More information about the Digitalmars-d-bugs
mailing list