digitalmars.D.bugs - [Issue 22400] New: importC: Error: unknown, when compiling source
- d-bugmail puremagic.com (27/27) Oct 17 2021 https://issues.dlang.org/show_bug.cgi?id=22400
https://issues.dlang.org/show_bug.cgi?id=22400 Issue ID: 22400 Summary: importC: Error: unknown, when compiling source with typedef'd initializer Product: D Version: D2 Hardware: All OS: All Status: NEW Severity: critical Priority: P1 Component: dmd Assignee: nobody puremagic.com Reporter: ibuclaw gdcproject.org Variation of issue 22399, but using `typedef struct`. --- typedef struct S1 { unsigned short f1; } S1_t; struct S2 { const S1_t *f1; }; const S1_t C1[1] = { {12} }; const struct S2 C3 = {C1}; --
Oct 17 2021