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

          Issue ID: 22328
           Summary: Specific D types are used instead of Windows type
                    aliases
           Product: D
           Version: D2
          Hardware: All
                OS: Windows
            Status: NEW
          Severity: normal
          Priority: P1
         Component: druntime
          Assignee: [email protected]
          Reporter: [email protected]

Using D types directly leads to subtle bugs like BOOL being translated to bool
or LONG to long (both should be int). For example,
core.sys.windows.dll.SimpleDllMain.DllMain has bool instead of BOOL as the
return type (https://github.com/dlang/druntime/pull/3571)

--

Reply via email to