#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 | Keywords:
Difficulty: Unknown | Testcase:
Os: Unknown/Multiple | Architecture: Unknown/Multiple
-------------------------------+--------------------------------------------
GHC warns about unrecognised pragmas, but other impls can add pragmas
inbetween GHC releases. If you want to use those pragmas then you can't
just use `-Wall -Werror` when compiling. We could make a pragma to tell
GHC to not warn about other pragmas, e.g.
{{{
{-# KNOWN_PRAGMA FOO #-}
}}}
would make GHC not warn about `FOO` pragmas.
Suggested in #2847.
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/2867>
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