[Issue 23887] ImportC: extend enums to support longs
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Thu May 11 07:27:32 UTC 2023
https://issues.dlang.org/show_bug.cgi?id=23887
Walter Bright <bugzilla at digitalmars.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution|--- |WORKSFORME
--- Comment #1 from Walter Bright <bugzilla at digitalmars.com> ---
This works:
#include <stdio.h>
enum E { A = 4294967296LU };
int main()
{
printf("%llu\n", A);
return 0;
}
in the current master.
--
More information about the Digitalmars-d-bugs
mailing list