#3844: Undeprecate #include (in at least some circumstances) -------------------------------------+------------------------------------- Reporter: cjs | Owner: Type: bug | Status: closed Priority: low | Milestone: Component: Compiler | Version: 6.12.1 (FFI) | Keywords: #include Resolution: fixed | deprecation Operating System: | Architecture: Unknown/Multiple Unknown/Multiple | Difficulty: Unknown Type of failure: Incorrect | Blocked By: warning at compile-time | Related Tickets: Test Case: | Blocking: | Differential Revisions: | -------------------------------------+------------------------------------- Changes (by thomie): * status: new => closed * difficulty: => Unknown * resolution: => fixed * milestone: 7.10.1 => Comment: `hsc2hs` has not been emitting `INCLUDE` pragmas since ghc 7.4. http://git.haskell.org/hsc2hs.git/commit/864afb251b11b51f3c0221ec81dc575b7c7... {{{ Author: Simon Marlow <> Date: Sun Aug 2 19:03:45 2009 +0000 only emit {-# INCLUDE #-} pragmas for GHC < 6.10 }}} http://git.haskell.org/hsc2hs.git/commit/f8cbf37ab28ab4512d932678c08c263aa41... {{{ Author: Ian Lynagh <igloo@earth.li> Date: Mon Aug 8 21:41:44 2011 +0100 Remove the support for old GHC versions The conditional code was all for versions < 6.10, so old enough that they can't be used to compile the HEAD. Additionally, it didn't work properly. It relied on __GLASGOW_HASKELL__ being defined when compiling the C, rather than having the C print the conditionals as part of the Haskell. }}} -- Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/3844#comment:13> GHC <http://www.haskell.org/ghc/> The Glasgow Haskell Compiler