www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 22727] New: ImportC: support for __stdcall and __fastcall is

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

          Issue ID: 22727
           Summary: ImportC: support for __stdcall and __fastcall is
                    necessary for 32-bit Windows builds
           Product: D
           Version: D2
          Hardware: x86
                OS: Windows
            Status: NEW
          Keywords: ImportC
          Severity: major
          Priority: P1
         Component: dmd
          Assignee: nobody puremagic.com
          Reporter: maxsamukha gmail.com

One may get away with defining __fastcall as empty and warning the user not to
call the functions directly. __stdcall is obviously necessary because most
Windows APIs use that.

--
Feb 02 2022