[Issue 24158] ImportC: enums created from string literal #defines don’t implicitly convert to const(char)* in D.
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Sun Oct 29 08:14:35 UTC 2023
https://issues.dlang.org/show_bug.cgi?id=24158
Walter Bright <bugzilla at digitalmars.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |bugzilla at digitalmars.com
--- Comment #1 from Walter Bright <bugzilla at digitalmars.com> ---
That is probably because the C literal becomes a char[2] instead of a
const(char)[2]. I'll look into that.
--
More information about the Digitalmars-d-bugs
mailing list