[Issue 22877] importC: wrong sizeof for string literal
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Tue Apr 26 15:53:44 UTC 2022
https://issues.dlang.org/show_bug.cgi?id=22877
--- Comment #5 from Dlang Bot <dlang-bot at dlang.rocks> ---
@Yoplitein created dlang/dmd pull request #14027 "Amend prior fix for issue
22877" mentioning this issue:
- 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