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/profiling | |
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/profiling')
-rw-r--r-- | compiler/profiling/CostCentre.lhs | 4 | ||||
-rw-r--r-- | compiler/profiling/SCCfinal.lhs | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/compiler/profiling/CostCentre.lhs b/compiler/profiling/CostCentre.lhs index 38c5a82036..c1ef7e7e36 100644 --- a/compiler/profiling/CostCentre.lhs +++ b/compiler/profiling/CostCentre.lhs @@ -4,11 +4,11 @@ \section[CostCentre]{The @CostCentre@ data type} \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 CostCentre ( diff --git a/compiler/profiling/SCCfinal.lhs b/compiler/profiling/SCCfinal.lhs index e24eee123e..1c084fe3a0 100644 --- a/compiler/profiling/SCCfinal.lhs +++ b/compiler/profiling/SCCfinal.lhs @@ -23,11 +23,11 @@ This is now a sort-of-normal STG-to-STG pass (WDP 94/06), run by stg2stg. * "Distributes" given cost-centres to all as-yet-unmarked RHSs. \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 SCCfinal ( stgMassageForProfiling ) where |