October 17, 2021 [Issue 22411] New: importC: Error: cannot implicitly convert expression of type 'const(char*)' to 'char*' | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=22411 Issue ID: 22411 Summary: importC: Error: cannot implicitly convert expression of type 'const(char*)' to 'char*' Product: D Version: D2 Hardware: All OS: All Status: NEW Severity: major Priority: P1 Component: dmd Assignee: nobody@puremagic.com Reporter: ibuclaw@gdcproject.org --- extern char * const errmsg[10]; void test() { char *msg = errmsg[6]; } -- |
Copyright © 1999-2021 by the D Language Foundation