[GHC] #3844: Undeprecate #include (in at least some circumstances)

GHC trac at galois.com
Thu Jan 28 05:53:26 EST 2010


#3844: Undeprecate #include (in at least some circumstances)
-------------------------------------+--------------------------------------
    Reporter:  cjs                   |        Owner:                                   
        Type:  bug                   |       Status:  new                              
    Priority:  normal                |    Milestone:  6.14.1                           
   Component:  Compiler (FFI)        |      Version:  6.12.1                           
    Keywords:  #include deprecation  |   Difficulty:                                   
          Os:  Unknown/Multiple      |     Testcase:                                   
Architecture:  Unknown/Multiple      |      Failure:  Incorrect warning at compile-time
-------------------------------------+--------------------------------------
Changes (by simonmar):

  * os:  Linux => Unknown/Multiple
  * architecture:  x86_64 (amd64) => Unknown/Multiple
  * milestone:  => 6.14.1


Comment:

 So the problem here is that `hsc2hs` is generating the `{-# INCLUDE #-}`
 pragma, because it doesn't know which version of GHC you're going to use
 to compile the resulting `.hs` file.  If we fixed #3457, then we could fix
 this ticket too.

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


More information about the Glasgow-haskell-bugs mailing list