
#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