[GHC] #3052: ghc FFI doesn't support thiscall
GHC
trac at galois.com
Fri Feb 27 06:59:35 EST 2009
#3052: ghc FFI doesn't support thiscall
---------------------+------------------------------------------------------
Reporter: augustss | Owner:
Type: bug | Status: new
Priority: normal | Component: Compiler (FFI)
Version: 6.10.1 | Severity: normal
Keywords: | Testcase:
Os: Windows | Architecture: x86
---------------------+------------------------------------------------------
The ghc FFI does not support the "thiscall" calling convention.
This is the calling convention used by Microsoft C++ for calling methods.
It's like the stdcall calling convention, except that the "this" pointer
is passed in ECX.
Without this calling convention it's impossible to interact with (Msft)
C++ objects.
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/3052>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the Glasgow-haskell-bugs
mailing list