[Issue 24130] ImportC: Windows - Cannot build nearly program that uses most system headers as 32-bit.

d-bugmail at puremagic.com d-bugmail at puremagic.com
Wed Sep 6 07:26:50 UTC 2023


https://issues.dlang.org/show_bug.cgi?id=24130

--- Comment #3 from anonymous4 <dfj1esp02 at sneakemail.com> ---
I have this code around that line:

__inline ULONGLONG
NTAPI
Int64ShrlMod32 (
    _In_ ULONGLONG Value,
    _In_ DWORD ShiftCount
    )
{
    __asm    {
        mov     ecx, ShiftCount
        mov     eax, dword ptr [Value]
        mov     edx, dword ptr [Value+4]
        shrd    eax, edx, cl
        shr     edx, cl
    }
}

So D complains about absence of semicolon after the asm statement.

--


More information about the Digitalmars-d-bugs mailing list