www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 23065] New: importC: __builtin_expect should use c_long

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

          Issue ID: 23065
           Summary: importC: __builtin_expect should use c_long
           Product: D
           Version: D2
          Hardware: All
                OS: All
            Status: NEW
          Keywords: ImportC
          Severity: minor
          Priority: P1
         Component: druntime
          Assignee: nobody puremagic.com
          Reporter: duser neet.fi
                CC: duser neet.fi

it's a C function documented as taking "long" but the implementation in
druntime uses the D long type

--
Apr 27 2022