[GHC] #7630: FFI: "capi" calling convention doesn't work

GHC cvs-ghc at haskell.org
Tue Jan 29 19:37:57 CET 2013


#7630: FFI: "capi" calling convention doesn't work
----------------------------------------+-----------------------------------
  Reporter:  guest                      |          Owner:         
      Type:  bug                        |         Status:  new    
  Priority:  normal                     |      Milestone:         
 Component:  Compiler                   |        Version:  7.6.1  
Resolution:                             |       Keywords:         
        Os:  Linux                      |   Architecture:  x86    
   Failure:  GHC rejects valid program  |     Difficulty:  Unknown
  Testcase:                             |      Blockedby:         
  Blocking:                             |        Related:         
----------------------------------------+-----------------------------------

Comment(by thoughtpolice):

 The docs are wrong. The extension is actually called '''CApiFFI''', and
 your example works if you use that instead of '''CAPI'''.

 This should be fixed in the users manual and merged into 7.6.2 I think.
 I'll fix it in HEAD with this bug as the ticket.

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



More information about the ghc-tickets mailing list