[GHC] #3933: "include" deprecation warning is a bit off

GHC trac at galois.com
Sun Mar 21 15:17:24 EDT 2010


#3933: "include" deprecation warning is a bit off
---------------------------------+------------------------------------------
    Reporter:  isaacdupree       |       Owner:                                   
        Type:  bug               |      Status:  new                              
    Priority:  normal            |   Component:  Compiler                         
     Version:  6.12.1            |    Keywords:                                   
          Os:  Unknown/Multiple  |    Testcase:                                   
Architecture:  Unknown/Multiple  |     Failure:  Incorrect warning at compile-time
---------------------------------+------------------------------------------
 This is silly, but I got a warning
 {{{
 Display.hs:1:11:
     Warning: -#include is deprecated: No longer has any effect
 }}}
 from a piece of code that actually used the `{-# INCLUDE #-}` pragma.
 Shouldn't it say INCLUDE is deprecated or that they're all deprecated?
 Slightly related to #3844.

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


More information about the Glasgow-haskell-bugs mailing list