[Hackage] #190: extension ForeignFunctionInterface should imply -fvia-C for ghc

Hackage trac at galois.com
Mon Dec 17 14:53:10 EST 2007


#190: extension ForeignFunctionInterface should imply -fvia-C for ghc
--------------------------+-------------------------------------------------
  Reporter:  duncan       |        Owner:         
      Type:  enhancement  |       Status:  new    
  Priority:  normal       |    Milestone:         
 Component:  Cabal        |      Version:  1.2.3.0
  Severity:  normal       |   Resolution:         
  Keywords:               |   Difficulty:  normal 
Ghcversion:  6.8.1        |     Platform:  Linux  
--------------------------+-------------------------------------------------
Comment (by guest):

 My reading of that is "If you are using FFI via C, write a header file",
 not "If you are using the FFI, go via C". I can't see why GHC shouldn't be
 able to do the right thing (according to your Haskell type signature, at
 least) when generating the code itself.

-- 
Ticket URL: <http://hackage.haskell.org/trac/hackage/ticket/190#comment:4>
Hackage <http://haskell.org/cabal/>
Hackage: Cabal and related projects


More information about the cabal-devel mailing list