[Issue 22877] importC: wrong sizeof for string literal

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sun May 1 11:39:51 UTC 2022


https://issues.dlang.org/show_bug.cgi?id=22877

--- Comment #7 from Dlang Bot <dlang-bot at dlang.rocks> ---
@WalterBright updated dlang/dmd pull request #14049 "fix Issue 23057 - importC:
dmd segfault on invalid syntax" 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/14049

--


More information about the Digitalmars-d-bugs mailing list