December 28, 2023 [Issue 24306] New: ImportC: same name structs in separate C files interfere when compiled together | ||||
---|---|---|---|---|
| ||||
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 -- |
Copyright © 1999-2021 by the D Language Foundation