October 10, 2021
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 *)""
};

--