#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

_______________________________________________
ghc-tickets mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/ghc-tickets

Reply via email to