digitalmars.D.bugs - [Issue 22376] New: importC: Error: cannot use non-constant CTFE
- d-bugmail puremagic.com (28/28) Oct 10 2021 https://issues.dlang.org/show_bug.cgi?id=22376
https://issues.dlang.org/show_bug.cgi?id=22376 Issue ID: 22376 Summary: importC: Error: cannot use non-constant CTFE pointer in an initializer Product: D Version: D2 Hardware: All OS: All Status: NEW Severity: major Priority: P1 Component: dmd Assignee: nobody puremagic.com Reporter: ibuclaw gdcproject.org --- char * const errmsg[10] = { ( char *)"need dictionary", ( char *)"stream end", ( char *)"", ( char *)"file error", ( char *)"stream error", ( char *)"data error", ( char *)"insufficient memory", ( char *)"buffer error", ( char *)"incompatible version", ( char *)"" }; --
Oct 10 2021