Summary: wrong calling convention on wsprintfA/W
           Product: D
           Version: D2
          Platform: x86
        OS/Version: Windows
            Status: NEW
          Severity: normal
          Priority: P2
         Component: druntime

--- Comment #0 from 2011-03-02 02:14:16 PST --- exports wsprintfA and wsprintfW with extern(Windows).
However, when I attempt to import the function, OPTLINK reports (for the W

Symbol Undefined _wsprintfW@8

According to MSDN (see, the function
should use the C calling convention.

So the definitions should use extern(C) instead of extern(Windows).

Configure issuemail:
------- You are receiving this mail because: -------

Reply via email to