[GHC] #2365: Warn about suspicious flags in OPTIONS_GHC pragmas

GHC cvs-ghc at haskell.org
Sun Jan 27 20:11:09 CET 2013


#2365: Warn about suspicious flags in OPTIONS_GHC pragmas
---------------------------------+------------------------------------------
    Reporter:  igloo             |       Owner:                  
        Type:  feature request   |      Status:  new             
    Priority:  lowest            |   Milestone:  7.6.2           
   Component:  Compiler          |     Version:  6.8.2           
    Keywords:                    |          Os:  Unknown/Multiple
Architecture:  Unknown/Multiple  |     Failure:  None/Unknown    
  Difficulty:  Unknown           |    Testcase:                  
   Blockedby:                    |    Blocking:                  
     Related:                    |  
---------------------------------+------------------------------------------
Changes (by morabbin):

  * failure:  => None/Unknown


Comment:

 7.6.1 disallows `-package` but accepts `-X''extension''`:
 {{{
 Orac:~/work/tickets $ ghc -c T2365.hs

 T2365.hs:1:16:
     unknown flag in  {-# OPTIONS_GHC #-} pragma: -package
 }}}

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



More information about the ghc-tickets mailing list