[Issue 23894] New: ImportC: _InterlockedExchangeAdd and a ton of other VC intrinsics are not recognized
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Fri May 5 19:58:20 UTC 2023
https://issues.dlang.org/show_bug.cgi?id=23894
Issue ID: 23894
Summary: ImportC: _InterlockedExchangeAdd and a ton of other VC
intrinsics are not recognized
Product: D
Version: D2
Hardware: All
OS: Windows
Status: NEW
Keywords: ImportC
Severity: normal
Priority: P1
Component: dmd
Assignee: nobody at puremagic.com
Reporter: maxsamukha at gmail.com
"Windows.h" intrinsics:
main.obj : error LNK2019: unresolved external symbol _InterlockedExchangeAdd
referenced in function _InlineInterlockedAdd
main.obj : error LNK2019: unresolved external symbol _InterlockedExchangeAdd64
referenced in function _InlineInterlockedAdd64
main.obj : error LNK2019: unresolved external symbol _mul128 referenced in
function MultiplyExtract128
main.obj : error LNK2019: unresolved external symbol __shiftright128 referenced
in function MultiplyExtract128
main.obj : error LNK2019: unresolved external symbol _umul128 referenced in
function UnsignedMultiplyExtract128
main.obj : error LNK2019: unresolved external symbol _ReadWriteBarrier
referenced in function BarrierAfterRead
main.obj : error LNK2019: unresolved external symbol __stosb referenced in
function RtlSecureZeroMemory
main.obj : error LNK2019: unresolved external symbol __readgsqword referenced
in function NtCurrentTeb
Fun!
--
More information about the Digitalmars-d-bugs
mailing list