#2897: HsFFI.h is not in the default include path for hsc2hs
---------------------------------+------------------------------------------
    Reporter:  cjs               |        Owner:                  
        Type:  bug               |       Status:  new             
    Priority:  normal            |    Milestone:  6.12 branch     
   Component:  hsc2hs            |      Version:  6.10.1          
    Severity:  normal            |   Resolution:                  
    Keywords:                    |   Difficulty:  Unknown         
    Testcase:                    |           Os:  Unknown/Multiple
Architecture:  Unknown/Multiple  |  
---------------------------------+------------------------------------------
Comment (by duncan):

 I propose that the next hsc2hs release should have a default template file
 that does not include `HsFFI.h`. It's not needed by the template itself or
 any code hsc2hs generates. It's only provided for the convenience of .hsc
 modules, but they can `#include "HsFFI.h"` themselves if they need it. I
 expect (but have not checked) that very very few `.hsc` modules actually
 do need `HsFFI.h` and most of the ones that do are probably in the core
 libs which are the easiest to fix. A survey of hackage is needed to
 confirm this.

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/2897#comment:4>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
_______________________________________________
Glasgow-haskell-bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs

Reply via email to