[Issue 22877] importC: wrong sizeof for string literal
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Tue Apr 26 23:59:44 UTC 2022
https://issues.dlang.org/show_bug.cgi?id=22877
--- Comment #6 from Dlang Bot <dlang-bot at dlang.rocks> ---
dlang/dmd pull request #14027 "Amend prior fix for issue 22877" was merged into
master:
- ede0d4a4c5d7df7f6f54d20af0c06b221a79f875 by Steven Dwy:
Amend prior fix for issue 22877
Aligns ImportC's treatment of string literals with C11 by typing them as
static arrays
Also fixes `typeof(&"")` returning string length instead of pointer size
https://github.com/dlang/dmd/pull/14027
--
More information about the Digitalmars-d-bugs
mailing list