March 17, 2022 [Issue 22888] New: ImportC: Error: cannot cast `"123"` to `const(char)` at compile time | ||||
|---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=22888 Issue ID: 22888 Summary: ImportC: Error: cannot cast `"123"` to `const(char)` at compile time Product: D Version: D2 Hardware: All OS: All Status: NEW Severity: normal Priority: P1 Component: dmd Assignee: nobody@puremagic.com Reporter: trikkuz@gmail.com This code is rejected: ``` const char str[][4] = {"123"}; ``` -- | ||||
Copyright © 1999-2021 by the D Language Foundation
Permalink
Reply