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: [email protected]
Reporter: [email protected]
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
--