January 09, 2023
https://issues.dlang.org/show_bug.cgi?id=23614

          Issue ID: 23614
           Summary: ImportC: __int128 not supported
           Product: D
           Version: D2
          Hardware: x86_64
                OS: Mac OS X
            Status: NEW
          Severity: blocker
          Priority: P1
         Component: dmd
          Assignee: nobody@puremagic.com
          Reporter: doob@me.com

Compiling the following C code:

unsigned long long _mulx_u64(unsigned long long __X, unsigned long long __Y,
unsigned long long *__P)
{
    unsigned __int128 __res = (unsigned __int128) __X * __Y;
    *__P = (unsigned long long) (__res >> 64);
    return (unsigned long long) __res;
}


Results in the following errors:

foo.c(3): Error: missing comma or semicolon after declaration of `extern ()`,
found `__res` instead

I'm using macOS 13.0.1, DMD v2.101.1 and Xcode 14.2.

--