Bug 21982 – importC: Error: variable no definition of struct
Status
RESOLVED
Resolution
FIXED
Severity
critical
Priority
P1
Component
dmd
Product
D
Version
D2
Platform
All
OS
All
Creation time
2021-05-27T21:48:21Z
Last change time
2021-05-30T09:08:34Z
Keywords
ImportC, pull, rejects-valid
Assigned to
No Owner
Creator
Iain Buclaw
Comments
Comment #0 by ibuclaw — 2021-05-27T21:48:21Z
From the testsuite
---
imports/cstuff1.c(308): Error: variable `cstuff1.tests1.s` no definition of struct `SS`
imports/cstuff1.c(315): Error: variable `cstuff1.tests2.t` no definition of struct `T`
---
Which seems to suggest that TypeTag isn't resolving all issues around symbol resolution.
Comment #1 by dlang-bot — 2021-05-29T22:44:41Z
@ibuclaw created dlang/dmd pull request #12608 "fix Issue 21982 - importC: Error: variable no definition of struct" fixing this issue:
- fix Issue 21982 - importC: Error: variable no definition of struct
https://github.com/dlang/dmd/pull/12608
Comment #2 by dlang-bot — 2021-05-30T09:08:34Z
dlang/dmd pull request #12608 "fix Issue 21982 - importC: Error: variable no definition of struct" was merged into master:
- d4e84624513c5569a51b91cc7cb8c1067e2bae3d by Iain Buclaw:
fix Issue 21982 - importC: Error: variable no definition of struct
https://github.com/dlang/dmd/pull/12608