← Back to index
|
Original Bugzilla link
Bug 20456 – linker can't find the C function wmemove when -mscrtlib=msvcrt
Status
NEW
Severity
normal
Priority
P3
Component
dmd
Product
D
Version
D2
Platform
x86_64
OS
Windows
Creation time
2019-12-19T03:08:50Z
Last change time
2024-12-13T19:06:31Z
Assigned to
No Owner
Creator
Suleyman Sahmi (سليمان السهمي)
Moved to GitHub: dmd#19650 →
Comments
Comment #0
by sahmi.soulaimane — 2019-12-19T03:08:50Z
The following program fails to link. ``` import core.stdc.wchar_; int main() { wchar_t[10] a = void; wchar_t[10] b = void; wmemmove(a.ptr, b.ptr, 10); return 0; } ``` compiled with: dmd test.d -m64 -mscrtlib=msvcrt The equivalent C program succeds. ``` #include <wchar.h> int main() { wchar_t a[10]; wchar_t b[10]; wmemmove(a,b,10); return 0; } ``` compiled with: cl test.c /MD
Comment #1
by robert.schadek — 2024-12-13T19:06:31Z
THIS ISSUE HAS BEEN MOVED TO GITHUB
https://github.com/dlang/dmd/issues/19650
DO NOT COMMENT HERE ANYMORE, NOBODY WILL SEE IT, THIS ISSUE HAS BEEN MOVED TO GITHUB