[GHC] #2594: Wrong size for Int in arguments to functions wrapped to FunPtr by FFI wrappers (on 64-bit machine)

GHC trac at galois.com
Sat Sep 13 20:09:03 EDT 2008


#2594: Wrong size for Int in arguments to functions wrapped to FunPtr by FFI
wrappers (on 64-bit machine)
-------------------------------+--------------------------------------------
    Reporter:  shahn           |        Owner:          
        Type:  bug             |       Status:  reopened
    Priority:  normal          |    Milestone:          
   Component:  Compiler        |      Version:  6.8.3   
    Severity:  normal          |   Resolution:          
    Keywords:                  |     Testcase:          
Architecture:  x86_64 (amd64)  |           Os:  Linux   
-------------------------------+--------------------------------------------
Changes (by shahn):

  * status:  closed => reopened
  * resolution:  invalid =>

Comment:

 Replying to [comment:1 duncan]:

 I was unsure about the correct use of the FFI.

 However, the described behavior is also shown when using {{{CInt}}}
 instead of {{{Int}}}.

 I am re-opening the bug...

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/2594#comment:2>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler


More information about the Glasgow-haskell-bugs mailing list