May 25, 2019 [Issue 19901] New: importing export symbols causes link errors | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=19901 Issue ID: 19901 Summary: importing export symbols causes link errors Product: D Version: D2 Hardware: x86 OS: Windows Status: NEW Severity: regression Priority: P1 Component: dmd Assignee: nobody@puremagic.com Reporter: r.sagitario@gmx.de Building the mydll example in dmd\samples\mydll results in a link error: >dmd -m32 -ofmydll.dll -L/IMPLIB mydll\mydll.d mydll\dll.d mydll\mydll.def dmd -m32 -ofdlltest.exe mydll\test.d mydll\mydll.di mydll.lib OPTLINK (R) for Win32 Release 8.00.17 Copyright (C) Digital Mars 1989-2013 All rights reserved. http://www.digitalmars.com/ctg/optlink.html dlltest.obj(dlltest) Error 42: Symbol Undefined _D5mydll8dllprintFZv Error: linker exited with status 1 -- |
Copyright © 1999-2021 by the D Language Foundation