April 12, 2023 [Issue 23837] New: importc fails to link on windows x86 but successes on x64 | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=23837 Issue ID: 23837 Summary: importc fails to link on windows x86 but successes on x64 Product: D Version: D2 Hardware: x86 OS: Windows Status: NEW Severity: blocker Priority: P1 Component: dmd Assignee: nobody@puremagic.com Reporter: temtaime@gmail.com main.d: import test; struct TexturePacker { stbrp_context _context; } void main() { auto res = TexturePacker(); } test.c: struct stbrp_context { int width; int height; int align; int init_mode; int heuristic; }; it works on x86_64, but on x86_mscoff it fails with: error: undefined symbol: __C.stbrp_context.__inittest -- |
Copyright © 1999-2021 by the D Language Foundation