diff options
author | Ian Lynagh <igloo@earth.li> | 2007-09-03 23:39:03 +0000 |
---|---|---|
committer | Ian Lynagh <igloo@earth.li> | 2007-09-03 23:39:03 +0000 |
commit | ad94d40948668032189ad22a0ad741ac1f645f50 (patch) | |
tree | 34212fac32f276c0095f35b39019602c964cbdcf /compiler/codeGen/CgMonad.lhs | |
parent | 45202530612593a0ba7a6c559a38dc1ff26670a4 (diff) | |
download | haskell-ad94d40948668032189ad22a0ad741ac1f645f50.tar.gz |
Use OPTIONS rather than OPTIONS_GHC for pragmas
Older GHCs can't parse OPTIONS_GHC.
This also changes the URL referenced for the -w options from
WorkingConventions#Warnings to CodingStyle#Warnings for the compiler
modules.
Diffstat (limited to 'compiler/codeGen/CgMonad.lhs')
-rw-r--r-- | compiler/codeGen/CgMonad.lhs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/compiler/codeGen/CgMonad.lhs b/compiler/codeGen/CgMonad.lhs index 6861a2c2c0..47eb1f9016 100644 --- a/compiler/codeGen/CgMonad.lhs +++ b/compiler/codeGen/CgMonad.lhs @@ -8,11 +8,11 @@ See the beginning of the top-level @CodeGen@ module, to see how this monadic stuff fits into the Big Picture. \begin{code} -{-# OPTIONS_GHC -w #-} +{-# OPTIONS -w #-} -- The above warning supression flag is a temporary kludge. -- While working on this module you are encouraged to remove it and fix -- any warnings in the module. See --- http://hackage.haskell.org/trac/ghc/wiki/WorkingConventions#Warnings +-- http://hackage.haskell.org/trac/ghc/wiki/CodingStyle#Warnings -- for details module CgMonad ( |