[Issue 19784] New: DLL in BetterC mode - Symbol Undefined __acrtused_dll
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Sun Mar 31 21:35:09 UTC 2019
https://issues.dlang.org/show_bug.cgi?id=19784
Issue ID: 19784
Summary: DLL in BetterC mode - Symbol Undefined __acrtused_dll
Product: D
Version: D2
Hardware: All
OS: Windows
Status: NEW
Severity: minor
Priority: P1
Component: dmd
Assignee: nobody at puremagic.com
Reporter: relmail at rambler.ru
When I try compiling a simple Windows DLL using DMD it works fine, but when I
try doing it in BetterC mode I get "Error 42: Symbol Undefined __acrtused_dll".
I guess the compiler generates calls to this function while compiling a DLL and
this function is not defined in Cruntime, but rather defined in Druntime or
Phobos. I think it should be possible to compile DLLs in BetterC mode, so this
is a bug.
--
More information about the Digitalmars-d-bugs
mailing list