digitalmars.D.bugs - [Issue 24306] New: ImportC: same name structs in separate C files
- d-bugmail puremagic.com (28/28) Dec 28 2023 https://issues.dlang.org/show_bug.cgi?id=24306
https://issues.dlang.org/show_bug.cgi?id=24306 Issue ID: 24306 Summary: ImportC: same name structs in separate C files interfere when compiled together Product: D Version: D2 Hardware: All OS: All Status: NEW Keywords: ImportC Severity: normal Priority: P3 Component: dmd Assignee: nobody puremagic.com Reporter: dkorpel live.nl a.c ``` struct S; ``` b.c ``` struct S {} ``` dmd a.c // works dmd b.c // works dmd a.c b.c // fails with: Error: struct `a.S` unknown size --
Dec 28 2023