#2867: Make a pragma that tells GHC that another pragma name is OK
---------------------------------+------------------------------------------
    Reporter:  igloo             |        Owner:                  
        Type:  bug               |       Status:  new             
    Priority:  normal            |    Milestone:  6.12 branch     
   Component:  Compiler          |      Version:  6.10.1          
    Severity:  normal            |   Resolution:                  
    Keywords:                    |   Difficulty:  Unknown         
    Testcase:                    |           Os:  Unknown/Multiple
Architecture:  Unknown/Multiple  |  
---------------------------------+------------------------------------------
Comment (by simonmar):

 Wouldn't it be better to do something like this

 {{{
 {-# OPTIONS_GHC -fno-warn-unrecognised-pragma FOO #-}
 }}}

 And then we can document that the default options include

 {{{
 -fno-warn-unrecognised-pragma OPTIONS_HUGS
 etc.
 }}}

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/2867#comment:2>
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