
#4268: Warning for ANN pragmas when GHCi is not supported -------------------------------+------------------------------------------- Reporter: simonmar | Owner: Type: bug | Status: new Priority: high | Milestone: 7.8.1 Component: Compiler | Version: 7.0.4 Resolution: | Keywords: Operating System: | Architecture: Unknown/Multiple Unknown/Multiple | Difficulty: Easy (less than 1 hour) Type of failure: Other | Blocked By: Test Case: | Related Tickets: Blocking: | -------------------------------+------------------------------------------- Changes (by simonmar): * priority: normal => high * milestone: 7.6.2 => 7.8.1 Comment: We don't want a flag for the ANN pragma, because pragmas don't normally have flags to enable them, they are unconditionally enabled. However, ANN might not be supported if GHC is built without GHCi support (say on a platform that doesn't have GHCi support), so in those cases we want to emit a warning. Therefore this ticket is now for adding a warning when an ANN pragma is being ignored. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/4268#comment:10 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler