projects
/
ghc-hetmet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
4520253
)
Use OPTIONS rather than OPTIONS_GHC for pragmas
author
Ian Lynagh
<igloo@earth.li>
Mon, 3 Sep 2007 23:39:03 +0000
(23:39 +0000)
committer
Ian Lynagh
<igloo@earth.li>
Mon, 3 Sep 2007 23:39:03 +0000
(23:39 +0000)
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.
301 files changed:
compiler/Makefile
patch
|
blob
|
history
compiler/basicTypes/BasicTypes.lhs
patch
|
blob
|
history
compiler/basicTypes/DataCon.lhs
patch
|
blob
|
history
compiler/basicTypes/Demand.lhs
patch
|
blob
|
history
compiler/basicTypes/Id.lhs
patch
|
blob
|
history
compiler/basicTypes/IdInfo.lhs
patch
|
blob
|
history
compiler/basicTypes/Literal.lhs
patch
|
blob
|
history
compiler/basicTypes/MkId.lhs
patch
|
blob
|
history
compiler/basicTypes/Module.lhs
patch
|
blob
|
history
compiler/basicTypes/Name.lhs
patch
|
blob
|
history
compiler/basicTypes/NameEnv.lhs
patch
|
blob
|
history
compiler/basicTypes/NameSet.lhs
patch
|
blob
|
history
compiler/basicTypes/NewDemand.lhs
patch
|
blob
|
history
compiler/basicTypes/OccName.lhs
patch
|
blob
|
history
compiler/basicTypes/RdrName.lhs
patch
|
blob
|
history
compiler/basicTypes/SrcLoc.lhs
patch
|
blob
|
history
compiler/basicTypes/UniqSupply.lhs
patch
|
blob
|
history
compiler/basicTypes/Unique.lhs
patch
|
blob
|
history
compiler/basicTypes/Var.lhs
patch
|
blob
|
history
compiler/basicTypes/VarEnv.lhs
patch
|
blob
|
history
compiler/basicTypes/VarSet.lhs
patch
|
blob
|
history
compiler/cmm/CLabel.hs
patch
|
blob
|
history
compiler/cmm/Cmm.hs
patch
|
blob
|
history
compiler/cmm/CmmBrokenBlock.hs
patch
|
blob
|
history
compiler/cmm/CmmCPS.hs
patch
|
blob
|
history
compiler/cmm/CmmCPSGen.hs
patch
|
blob
|
history
compiler/cmm/CmmCallConv.hs
patch
|
blob
|
history
compiler/cmm/CmmInfo.hs
patch
|
blob
|
history
compiler/cmm/CmmLex.x
patch
|
blob
|
history
compiler/cmm/CmmLint.hs
patch
|
blob
|
history
compiler/cmm/CmmLive.hs
patch
|
blob
|
history
compiler/cmm/CmmOpt.hs
patch
|
blob
|
history
compiler/cmm/CmmParse.y
patch
|
blob
|
history
compiler/cmm/CmmProcPoint.hs
patch
|
blob
|
history
compiler/cmm/CmmUtils.hs
patch
|
blob
|
history
compiler/cmm/Dataflow.hs
patch
|
blob
|
history
compiler/cmm/MachOp.hs
patch
|
blob
|
history
compiler/cmm/PprC.hs
patch
|
blob
|
history
compiler/cmm/PprCmm.hs
patch
|
blob
|
history
compiler/codeGen/Bitmap.hs
patch
|
blob
|
history
compiler/codeGen/CgBindery.lhs
patch
|
blob
|
history
compiler/codeGen/CgCallConv.hs
patch
|
blob
|
history
compiler/codeGen/CgCase.lhs
patch
|
blob
|
history
compiler/codeGen/CgClosure.lhs
patch
|
blob
|
history
compiler/codeGen/CgCon.lhs
patch
|
blob
|
history
compiler/codeGen/CgExpr.lhs
patch
|
blob
|
history
compiler/codeGen/CgForeignCall.hs
patch
|
blob
|
history
compiler/codeGen/CgHeapery.lhs
patch
|
blob
|
history
compiler/codeGen/CgHpc.hs
patch
|
blob
|
history
compiler/codeGen/CgInfoTbls.hs
patch
|
blob
|
history
compiler/codeGen/CgLetNoEscape.lhs
patch
|
blob
|
history
compiler/codeGen/CgMonad.lhs
patch
|
blob
|
history
compiler/codeGen/CgParallel.hs
patch
|
blob
|
history
compiler/codeGen/CgPrimOp.hs
patch
|
blob
|
history
compiler/codeGen/CgProf.hs
patch
|
blob
|
history
compiler/codeGen/CgStackery.lhs
patch
|
blob
|
history
compiler/codeGen/CgTailCall.lhs
patch
|
blob
|
history
compiler/codeGen/CgTicky.hs
patch
|
blob
|
history
compiler/codeGen/CgUtils.hs
patch
|
blob
|
history
compiler/codeGen/ClosureInfo.lhs
patch
|
blob
|
history
compiler/codeGen/CodeGen.lhs
patch
|
blob
|
history
compiler/codeGen/SMRep.lhs
patch
|
blob
|
history
compiler/coreSyn/CoreFVs.lhs
patch
|
blob
|
history
compiler/coreSyn/CoreLint.lhs
patch
|
blob
|
history
compiler/coreSyn/CorePrep.lhs
patch
|
blob
|
history
compiler/coreSyn/CoreSubst.lhs
patch
|
blob
|
history
compiler/coreSyn/CoreSyn.lhs
patch
|
blob
|
history
compiler/coreSyn/CoreTidy.lhs
patch
|
blob
|
history
compiler/coreSyn/CoreUnfold.lhs
patch
|
blob
|
history
compiler/coreSyn/CoreUtils.lhs
patch
|
blob
|
history
compiler/coreSyn/ExternalCore.lhs
patch
|
blob
|
history
compiler/coreSyn/MkExternalCore.lhs
patch
|
blob
|
history
compiler/coreSyn/PprCore.lhs
patch
|
blob
|
history
compiler/coreSyn/PprExternalCore.lhs
patch
|
blob
|
history
compiler/cprAnalysis/CprAnalyse.lhs
patch
|
blob
|
history
compiler/deSugar/Check.lhs
patch
|
blob
|
history
compiler/deSugar/Coverage.lhs
patch
|
blob
|
history
compiler/deSugar/Desugar.lhs
patch
|
blob
|
history
compiler/deSugar/DsArrows.lhs
patch
|
blob
|
history
compiler/deSugar/DsBinds.lhs
patch
|
blob
|
history
compiler/deSugar/DsCCall.lhs
patch
|
blob
|
history
compiler/deSugar/DsExpr.lhs
patch
|
blob
|
history
compiler/deSugar/DsForeign.lhs
patch
|
blob
|
history
compiler/deSugar/DsGRHSs.lhs
patch
|
blob
|
history
compiler/deSugar/DsListComp.lhs
patch
|
blob
|
history
compiler/deSugar/DsMeta.hs
patch
|
blob
|
history
compiler/deSugar/DsMonad.lhs
patch
|
blob
|
history
compiler/deSugar/DsUtils.lhs
patch
|
blob
|
history
compiler/deSugar/Match.lhs
patch
|
blob
|
history
compiler/deSugar/MatchCon.lhs
patch
|
blob
|
history
compiler/deSugar/MatchLit.lhs
patch
|
blob
|
history
compiler/ghci/ByteCodeAsm.lhs
patch
|
blob
|
history
compiler/ghci/ByteCodeFFI.lhs
patch
|
blob
|
history
compiler/ghci/ByteCodeGen.lhs
patch
|
blob
|
history
compiler/ghci/ByteCodeInstr.lhs
patch
|
blob
|
history
compiler/ghci/ByteCodeItbls.lhs
patch
|
blob
|
history
compiler/ghci/ByteCodeLink.lhs
patch
|
blob
|
history
compiler/ghci/Debugger.hs
patch
|
blob
|
history
compiler/ghci/GhciMonad.hs
patch
|
blob
|
history
compiler/ghci/GhciTags.hs
patch
|
blob
|
history
compiler/ghci/InteractiveUI.hs
patch
|
blob
|
history
compiler/ghci/Linker.lhs
patch
|
blob
|
history
compiler/ghci/ObjLink.lhs
patch
|
blob
|
history
compiler/ghci/RtClosureInspect.hs
patch
|
blob
|
history
compiler/hsSyn/Convert.lhs
patch
|
blob
|
history
compiler/hsSyn/HsBinds.lhs
patch
|
blob
|
history
compiler/hsSyn/HsDecls.lhs
patch
|
blob
|
history
compiler/hsSyn/HsDoc.hs
patch
|
blob
|
history
compiler/hsSyn/HsExpr.lhs
patch
|
blob
|
history
compiler/hsSyn/HsImpExp.lhs
patch
|
blob
|
history
compiler/hsSyn/HsLit.lhs
patch
|
blob
|
history
compiler/hsSyn/HsPat.lhs
patch
|
blob
|
history
compiler/hsSyn/HsSyn.lhs
patch
|
blob
|
history
compiler/hsSyn/HsTypes.lhs
patch
|
blob
|
history
compiler/hsSyn/HsUtils.lhs
patch
|
blob
|
history
compiler/iface/BinIface.hs
patch
|
blob
|
history
compiler/iface/BuildTyCl.lhs
patch
|
blob
|
history
compiler/iface/IfaceEnv.lhs
patch
|
blob
|
history
compiler/iface/IfaceSyn.lhs
patch
|
blob
|
history
compiler/iface/IfaceType.lhs
patch
|
blob
|
history
compiler/iface/LoadIface.lhs
patch
|
blob
|
history
compiler/iface/MkIface.lhs
patch
|
blob
|
history
compiler/iface/TcIface.lhs
patch
|
blob
|
history
compiler/ilxGen/IlxGen.lhs
patch
|
blob
|
history
compiler/javaGen/Java.lhs
patch
|
blob
|
history
compiler/javaGen/JavaGen.lhs
patch
|
blob
|
history
compiler/javaGen/PrintJava.lhs
patch
|
blob
|
history
compiler/main/BreakArray.hs
patch
|
blob
|
history
compiler/main/CmdLineParser.hs
patch
|
blob
|
history
compiler/main/CodeOutput.lhs
patch
|
blob
|
history
compiler/main/Constants.lhs
patch
|
blob
|
history
compiler/main/DriverMkDepend.hs
patch
|
blob
|
history
compiler/main/DriverPhases.hs
patch
|
blob
|
history
compiler/main/DriverPipeline.hs
patch
|
blob
|
history
compiler/main/DynFlags.hs
patch
|
blob
|
history
compiler/main/ErrUtils.lhs
patch
|
blob
|
history
compiler/main/Finder.lhs
patch
|
blob
|
history
compiler/main/GHC.hs
patch
|
blob
|
history
compiler/main/HeaderInfo.hs
patch
|
blob
|
history
compiler/main/HscMain.lhs
patch
|
blob
|
history
compiler/main/HscStats.lhs
patch
|
blob
|
history
compiler/main/HscTypes.lhs
patch
|
blob
|
history
compiler/main/InteractiveEval.hs
patch
|
blob
|
history
compiler/main/Main.hs
patch
|
blob
|
history
compiler/main/PackageConfig.hs
patch
|
blob
|
history
compiler/main/Packages.lhs
patch
|
blob
|
history
compiler/main/ParsePkgConf.y
patch
|
blob
|
history
compiler/main/PprTyThing.hs
patch
|
blob
|
history
compiler/main/StaticFlags.hs
patch
|
blob
|
history
compiler/main/SysTools.lhs
patch
|
blob
|
history
compiler/main/TidyPgm.lhs
patch
|
blob
|
history
compiler/nativeGen/AsmCodeGen.lhs
patch
|
blob
|
history
compiler/nativeGen/GraphBase.hs
patch
|
blob
|
history
compiler/nativeGen/GraphColor.hs
patch
|
blob
|
history
compiler/nativeGen/GraphOps.hs
patch
|
blob
|
history
compiler/nativeGen/GraphPpr.hs
patch
|
blob
|
history
compiler/nativeGen/MachCodeGen.hs
patch
|
blob
|
history
compiler/nativeGen/MachInstrs.hs
patch
|
blob
|
history
compiler/nativeGen/MachRegs.lhs
patch
|
blob
|
history
compiler/nativeGen/NCGMonad.hs
patch
|
blob
|
history
compiler/nativeGen/PositionIndependentCode.hs
patch
|
blob
|
history
compiler/nativeGen/PprMach.hs
patch
|
blob
|
history
compiler/nativeGen/RegAllocColor.hs
patch
|
blob
|
history
compiler/nativeGen/RegAllocInfo.hs
patch
|
blob
|
history
compiler/nativeGen/RegAllocLinear.hs
patch
|
blob
|
history
compiler/nativeGen/RegAllocStats.hs
patch
|
blob
|
history
compiler/nativeGen/RegArchBase.hs
patch
|
blob
|
history
compiler/nativeGen/RegArchX86.hs
patch
|
blob
|
history
compiler/nativeGen/RegCoalesce.hs
patch
|
blob
|
history
compiler/nativeGen/RegLiveness.hs
patch
|
blob
|
history
compiler/nativeGen/RegSpill.hs
patch
|
blob
|
history
compiler/nativeGen/RegSpillClean.hs
patch
|
blob
|
history
compiler/ndpFlatten/FlattenInfo.hs
patch
|
blob
|
history
compiler/ndpFlatten/FlattenMonad.hs
patch
|
blob
|
history
compiler/ndpFlatten/Flattening.hs
patch
|
blob
|
history
compiler/ndpFlatten/NDPCoreUtils.hs
patch
|
blob
|
history
compiler/ndpFlatten/PArrAnal.hs
patch
|
blob
|
history
compiler/parser/Ctype.lhs
patch
|
blob
|
history
compiler/parser/HaddockLex.x
patch
|
blob
|
history
compiler/parser/HaddockParse.y
patch
|
blob
|
history
compiler/parser/HaddockUtils.hs
patch
|
blob
|
history
compiler/parser/LexCore.hs
patch
|
blob
|
history
compiler/parser/Lexer.x
patch
|
blob
|
history
compiler/parser/Parser.y.pp
patch
|
blob
|
history
compiler/parser/ParserCore.y
patch
|
blob
|
history
compiler/parser/ParserCoreUtils.hs
patch
|
blob
|
history
compiler/parser/RdrHsSyn.lhs
patch
|
blob
|
history
compiler/prelude/ForeignCall.lhs
patch
|
blob
|
history
compiler/prelude/PrelInfo.lhs
patch
|
blob
|
history
compiler/prelude/PrelNames.lhs
patch
|
blob
|
history
compiler/prelude/PrelRules.lhs
patch
|
blob
|
history
compiler/prelude/PrimOp.lhs
patch
|
blob
|
history
compiler/prelude/TysPrim.lhs
patch
|
blob
|
history
compiler/prelude/TysWiredIn.lhs
patch
|
blob
|
history
compiler/profiling/CostCentre.lhs
patch
|
blob
|
history
compiler/profiling/SCCfinal.lhs
patch
|
blob
|
history
compiler/rename/RnBinds.lhs
patch
|
blob
|
history
compiler/rename/RnEnv.lhs
patch
|
blob
|
history
compiler/rename/RnExpr.lhs
patch
|
blob
|
history
compiler/rename/RnHsDoc.hs
patch
|
blob
|
history
compiler/rename/RnHsSyn.lhs
patch
|
blob
|
history
compiler/rename/RnNames.lhs
patch
|
blob
|
history
compiler/rename/RnSource.lhs
patch
|
blob
|
history
compiler/rename/RnTypes.lhs
patch
|
blob
|
history
compiler/simplCore/CSE.lhs
patch
|
blob
|
history
compiler/simplCore/FloatIn.lhs
patch
|
blob
|
history
compiler/simplCore/FloatOut.lhs
patch
|
blob
|
history
compiler/simplCore/LiberateCase.lhs
patch
|
blob
|
history
compiler/simplCore/OccurAnal.lhs
patch
|
blob
|
history
compiler/simplCore/SAT.lhs
patch
|
blob
|
history
compiler/simplCore/SATMonad.lhs
patch
|
blob
|
history
compiler/simplCore/SetLevels.lhs
patch
|
blob
|
history
compiler/simplCore/SimplCore.lhs
patch
|
blob
|
history
compiler/simplCore/SimplEnv.lhs
patch
|
blob
|
history
compiler/simplCore/SimplMonad.lhs
patch
|
blob
|
history
compiler/simplCore/SimplUtils.lhs
patch
|
blob
|
history
compiler/simplCore/Simplify.lhs
patch
|
blob
|
history
compiler/simplStg/SRT.lhs
patch
|
blob
|
history
compiler/simplStg/SimplStg.lhs
patch
|
blob
|
history
compiler/simplStg/StgStats.lhs
patch
|
blob
|
history
compiler/specialise/Rules.lhs
patch
|
blob
|
history
compiler/specialise/SpecConstr.lhs
patch
|
blob
|
history
compiler/specialise/Specialise.lhs
patch
|
blob
|
history
compiler/stgSyn/CoreToStg.lhs
patch
|
blob
|
history
compiler/stgSyn/StgLint.lhs
patch
|
blob
|
history
compiler/stgSyn/StgSyn.lhs
patch
|
blob
|
history
compiler/stranal/DmdAnal.lhs
patch
|
blob
|
history
compiler/stranal/SaAbsInt.lhs
patch
|
blob
|
history
compiler/stranal/SaLib.lhs
patch
|
blob
|
history
compiler/stranal/StrictAnal.lhs
patch
|
blob
|
history
compiler/stranal/WorkWrap.lhs
patch
|
blob
|
history
compiler/stranal/WwLib.lhs
patch
|
blob
|
history
compiler/typecheck/FamInst.lhs
patch
|
blob
|
history
compiler/typecheck/Inst.lhs
patch
|
blob
|
history
compiler/typecheck/TcArrows.lhs
patch
|
blob
|
history
compiler/typecheck/TcBinds.lhs
patch
|
blob
|
history
compiler/typecheck/TcClassDcl.lhs
patch
|
blob
|
history
compiler/typecheck/TcDefaults.lhs
patch
|
blob
|
history
compiler/typecheck/TcDeriv.lhs
patch
|
blob
|
history
compiler/typecheck/TcEnv.lhs
patch
|
blob
|
history
compiler/typecheck/TcExpr.lhs
patch
|
blob
|
history
compiler/typecheck/TcForeign.lhs
patch
|
blob
|
history
compiler/typecheck/TcGadt.lhs
patch
|
blob
|
history
compiler/typecheck/TcGenDeriv.lhs
patch
|
blob
|
history
compiler/typecheck/TcHsSyn.lhs
patch
|
blob
|
history
compiler/typecheck/TcHsType.lhs
patch
|
blob
|
history
compiler/typecheck/TcInstDcls.lhs
patch
|
blob
|
history
compiler/typecheck/TcMType.lhs
patch
|
blob
|
history
compiler/typecheck/TcMatches.lhs
patch
|
blob
|
history
compiler/typecheck/TcPat.lhs
patch
|
blob
|
history
compiler/typecheck/TcRnDriver.lhs
patch
|
blob
|
history
compiler/typecheck/TcRnMonad.lhs
patch
|
blob
|
history
compiler/typecheck/TcRnTypes.lhs
patch
|
blob
|
history
compiler/typecheck/TcRules.lhs
patch
|
blob
|
history
compiler/typecheck/TcSimplify.lhs
patch
|
blob
|
history
compiler/typecheck/TcSplice.lhs
patch
|
blob
|
history
compiler/typecheck/TcTyClsDecls.lhs
patch
|
blob
|
history
compiler/typecheck/TcTyDecls.lhs
patch
|
blob
|
history
compiler/typecheck/TcTyFuns.lhs
patch
|
blob
|
history
compiler/typecheck/TcType.lhs
patch
|
blob
|
history
compiler/typecheck/TcUnify.lhs
patch
|
blob
|
history
compiler/types/Class.lhs
patch
|
blob
|
history
compiler/types/Coercion.lhs
patch
|
blob
|
history
compiler/types/FamInstEnv.lhs
patch
|
blob
|
history
compiler/types/FunDeps.lhs
patch
|
blob
|
history
compiler/types/Generics.lhs
patch
|
blob
|
history
compiler/types/InstEnv.lhs
patch
|
blob
|
history
compiler/types/TyCon.lhs
patch
|
blob
|
history
compiler/types/Type.lhs
patch
|
blob
|
history
compiler/types/TypeRep.lhs
patch
|
blob
|
history
compiler/types/Unify.lhs
patch
|
blob
|
history
compiler/utils/Bag.lhs
patch
|
blob
|
history
compiler/utils/Binary.hs
patch
|
blob
|
history
compiler/utils/BufWrite.hs
patch
|
blob
|
history
compiler/utils/Digraph.lhs
patch
|
blob
|
history
compiler/utils/Encoding.hs
patch
|
blob
|
history
compiler/utils/FastMutInt.lhs
patch
|
blob
|
history
compiler/utils/FastString.lhs
patch
|
blob
|
history
compiler/utils/FastTypes.lhs
patch
|
blob
|
history
compiler/utils/FiniteMap.lhs
patch
|
blob
|
history
compiler/utils/IOEnv.hs
patch
|
blob
|
history
compiler/utils/ListSetOps.lhs
patch
|
blob
|
history
compiler/utils/Maybes.lhs
patch
|
blob
|
history
compiler/utils/OrdList.lhs
patch
|
blob
|
history
compiler/utils/Outputable.lhs
patch
|
blob
|
history
compiler/utils/Panic.lhs
patch
|
blob
|
history
compiler/utils/Pretty.lhs
patch
|
blob
|
history
compiler/utils/State.hs
patch
|
blob
|
history
compiler/utils/StringBuffer.lhs
patch
|
blob
|
history
compiler/utils/UniqFM.lhs
patch
|
blob
|
history
compiler/utils/UniqSet.lhs
patch
|
blob
|
history
compiler/utils/Util.lhs
patch
|
blob
|
history
compiler/vectorise/VectBuiltIn.hs
patch
|
blob
|
history
compiler/vectorise/VectCore.hs
patch
|
blob
|
history
compiler/vectorise/VectMonad.hs
patch
|
blob
|
history
compiler/vectorise/VectType.hs
patch
|
blob
|
history
compiler/vectorise/VectUtils.hs
patch
|
blob
|
history
compiler/vectorise/Vectorise.hs
patch
|
blob
|
history
utils/genapply/GenApply.hs
patch
|
blob
|
history
utils/genprimopcode/Parser.y
patch
|
blob
|
history
utils/hpc/HpcParser.y
patch
|
blob
|
history
diff --git
a/compiler/Makefile
b/compiler/Makefile
index
67962bc
..
3e14087
100644
(file)
--- a/
compiler/Makefile
+++ b/
compiler/Makefile
@@
-222,7
+222,7
@@
boot :: $(CONFIG_HS)
$(CONFIG_HS) : $(FPTOOLS_TOP)/mk/config.mk
@$(RM) -f $(CONFIG_HS)
@echo "Creating $(CONFIG_HS) ... "
$(CONFIG_HS) : $(FPTOOLS_TOP)/mk/config.mk
@$(RM) -f $(CONFIG_HS)
@echo "Creating $(CONFIG_HS) ... "
- @echo "{-# OPTIONS_GHC -w #-}" >>$(CONFIG_HS)
+ @echo "{-# OPTIONS -w #-}" >>$(CONFIG_HS)
@echo "module Config where" >>$(CONFIG_HS)
@echo "cProjectName = \"$(ProjectName)\"" >> $(CONFIG_HS)
@echo "cProjectVersion = \"$(ProjectVersion)\"" >> $(CONFIG_HS)
@echo "module Config where" >>$(CONFIG_HS)
@echo "cProjectName = \"$(ProjectName)\"" >> $(CONFIG_HS)
@echo "cProjectVersion = \"$(ProjectVersion)\"" >> $(CONFIG_HS)
diff --git
a/compiler/basicTypes/BasicTypes.lhs
b/compiler/basicTypes/BasicTypes.lhs
index
2bb2f36
..
db66ca2
100644
(file)
--- a/
compiler/basicTypes/BasicTypes.lhs
+++ b/
compiler/basicTypes/BasicTypes.lhs
@@
-14,11
+14,11
@@
types that
\end{itemize}
\begin{code}
\end{itemize}
\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
-- 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 BasicTypes(
-- for details
module BasicTypes(
diff --git
a/compiler/basicTypes/DataCon.lhs
b/compiler/basicTypes/DataCon.lhs
index
ffca4b7
..
5daf74e
100644
(file)
--- a/
compiler/basicTypes/DataCon.lhs
+++ b/
compiler/basicTypes/DataCon.lhs
@@
-5,11
+5,11
@@
\section[DataCon]{@DataCon@: Data Constructors}
\begin{code}
\section[DataCon]{@DataCon@: Data Constructors}
\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
-- 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 DataCon (
-- for details
module DataCon (
diff --git
a/compiler/basicTypes/Demand.lhs
b/compiler/basicTypes/Demand.lhs
index
325c6c1
..
976242c
100644
(file)
--- a/
compiler/basicTypes/Demand.lhs
+++ b/
compiler/basicTypes/Demand.lhs
@@
-5,11
+5,11
@@
\section[Demand]{@Demand@: the amount of demand on a value}
\begin{code}
\section[Demand]{@Demand@: the amount of demand on a value}
\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
-- 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
#ifndef OLD_STRICTNESS
-- for details
#ifndef OLD_STRICTNESS
diff --git
a/compiler/basicTypes/Id.lhs
b/compiler/basicTypes/Id.lhs
index
eff4c15
..
d42e69a
100644
(file)
--- a/
compiler/basicTypes/Id.lhs
+++ b/
compiler/basicTypes/Id.lhs
@@
-5,11
+5,11
@@
\section[Id]{@Ids@: Value and constructor identifiers}
\begin{code}
\section[Id]{@Ids@: Value and constructor identifiers}
\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
-- 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 Id (
-- for details
module Id (
diff --git
a/compiler/basicTypes/IdInfo.lhs
b/compiler/basicTypes/IdInfo.lhs
index
7580703
..
c1a69b2
100644
(file)
--- a/
compiler/basicTypes/IdInfo.lhs
+++ b/
compiler/basicTypes/IdInfo.lhs
@@
-8,11
+8,11
@@
Haskell. [WDP 94/11])
\begin{code}
Haskell. [WDP 94/11])
\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
-- 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 IdInfo (
-- for details
module IdInfo (
diff --git
a/compiler/basicTypes/Literal.lhs
b/compiler/basicTypes/Literal.lhs
index
aef61ea
..
b1c5878
100644
(file)
--- a/
compiler/basicTypes/Literal.lhs
+++ b/
compiler/basicTypes/Literal.lhs
@@
-5,11
+5,11
@@
\section[Literal]{@Literal@: Machine literals (unboxed, of course)}
\begin{code}
\section[Literal]{@Literal@: Machine literals (unboxed, of course)}
\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
-- 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 Literal
-- for details
module Literal
diff --git
a/compiler/basicTypes/MkId.lhs
b/compiler/basicTypes/MkId.lhs
index
76fd6e4
..
77394a9
100644
(file)
--- a/
compiler/basicTypes/MkId.lhs
+++ b/
compiler/basicTypes/MkId.lhs
@@
-12,11
+12,11
@@
have a standard form, namely:
* primitive operations
\begin{code}
* primitive operations
\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
-- 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 MkId (
-- for details
module MkId (
diff --git
a/compiler/basicTypes/Module.lhs
b/compiler/basicTypes/Module.lhs
index
b21f558
..
10f2279
100644
(file)
--- a/
compiler/basicTypes/Module.lhs
+++ b/
compiler/basicTypes/Module.lhs
@@
-9,11
+9,11
@@
These are Uniquable, hence we can build FiniteMaps with Modules as
the keys.
\begin{code}
the keys.
\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
-- 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 Module
-- for details
module Module
diff --git
a/compiler/basicTypes/Name.lhs
b/compiler/basicTypes/Name.lhs
index
9ce7389
..
6fccb7f
100644
(file)
--- a/
compiler/basicTypes/Name.lhs
+++ b/
compiler/basicTypes/Name.lhs
@@
-5,11
+5,11
@@
\section[Name]{@Name@: to transmit name info from renamer to typechecker}
\begin{code}
\section[Name]{@Name@: to transmit name info from renamer to typechecker}
\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
-- 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 Name (
-- for details
module Name (
diff --git
a/compiler/basicTypes/NameEnv.lhs
b/compiler/basicTypes/NameEnv.lhs
index
76e0896
..
419f832
100644
(file)
--- a/
compiler/basicTypes/NameEnv.lhs
+++ b/
compiler/basicTypes/NameEnv.lhs
@@
-5,11
+5,11
@@
\section[NameEnv]{@NameEnv@: name environments}
\begin{code}
\section[NameEnv]{@NameEnv@: name environments}
\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
-- 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 NameEnv (
-- for details
module NameEnv (
diff --git
a/compiler/basicTypes/NameSet.lhs
b/compiler/basicTypes/NameSet.lhs
index
adcbadf
..
1c41159
100644
(file)
--- a/
compiler/basicTypes/NameSet.lhs
+++ b/
compiler/basicTypes/NameSet.lhs
@@
-4,11
+4,11
@@
%
\begin{code}
%
\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
-- 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 NameSet (
-- for details
module NameSet (
diff --git
a/compiler/basicTypes/NewDemand.lhs
b/compiler/basicTypes/NewDemand.lhs
index
0ca93ea
..
f0b3191
100644
(file)
--- a/
compiler/basicTypes/NewDemand.lhs
+++ b/
compiler/basicTypes/NewDemand.lhs
@@
-5,11
+5,11
@@
\section[Demand]{@Demand@: the amount of demand on a value}
\begin{code}
\section[Demand]{@Demand@: the amount of demand on a value}
\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
-- 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 NewDemand(
-- for details
module NewDemand(
diff --git
a/compiler/basicTypes/OccName.lhs
b/compiler/basicTypes/OccName.lhs
index
5c25d87
..
2f8a632
100644
(file)
--- a/
compiler/basicTypes/OccName.lhs
+++ b/
compiler/basicTypes/OccName.lhs
@@
-4,11
+4,11
@@
%
\begin{code}
%
\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
-- 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 OccName (
-- for details
module OccName (
diff --git
a/compiler/basicTypes/RdrName.lhs
b/compiler/basicTypes/RdrName.lhs
index
2e45938
..
9dd0670
100644
(file)
--- a/
compiler/basicTypes/RdrName.lhs
+++ b/
compiler/basicTypes/RdrName.lhs
@@
-4,11
+4,11
@@
%
\begin{code}
%
\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
-- 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 RdrName (
-- for details
module RdrName (
diff --git
a/compiler/basicTypes/SrcLoc.lhs
b/compiler/basicTypes/SrcLoc.lhs
index
845e1db
..
ab1c2d4
100644
(file)
--- a/
compiler/basicTypes/SrcLoc.lhs
+++ b/
compiler/basicTypes/SrcLoc.lhs
@@
-3,11
+3,11
@@
%
\begin{code}
%
\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
-- 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 SrcLoc (
-- for details
module SrcLoc (
diff --git
a/compiler/basicTypes/UniqSupply.lhs
b/compiler/basicTypes/UniqSupply.lhs
index
abb50c8
..
5ee0a7e
100644
(file)
--- a/
compiler/basicTypes/UniqSupply.lhs
+++ b/
compiler/basicTypes/UniqSupply.lhs
@@
-4,11
+4,11
@@
%
\begin{code}
%
\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
-- 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 UniqSupply (
-- for details
module UniqSupply (
diff --git
a/compiler/basicTypes/Unique.lhs
b/compiler/basicTypes/Unique.lhs
index
9c23321
..
15cf350
100644
(file)
--- a/
compiler/basicTypes/Unique.lhs
+++ b/
compiler/basicTypes/Unique.lhs
@@
-16,11
+16,11
@@
Some of the other hair in this code is to be able to use a
Haskell).
\begin{code}
Haskell).
\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
-- 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 Unique (
-- for details
module Unique (
diff --git
a/compiler/basicTypes/Var.lhs
b/compiler/basicTypes/Var.lhs
index
3be91c5
..
f2bef26
100644
(file)
--- a/
compiler/basicTypes/Var.lhs
+++ b/
compiler/basicTypes/Var.lhs
@@
-5,11
+5,11
@@
\section{@Vars@: Variables}
\begin{code}
\section{@Vars@: Variables}
\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
-- 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 Var (
-- for details
module Var (
diff --git
a/compiler/basicTypes/VarEnv.lhs
b/compiler/basicTypes/VarEnv.lhs
index
596881e
..
df7687b
100644
(file)
--- a/
compiler/basicTypes/VarEnv.lhs
+++ b/
compiler/basicTypes/VarEnv.lhs
@@
-4,11
+4,11
@@
%
\begin{code}
%
\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
-- 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 VarEnv (
-- for details
module VarEnv (
diff --git
a/compiler/basicTypes/VarSet.lhs
b/compiler/basicTypes/VarSet.lhs
index
f74791d
..
1de03a1
100644
(file)
--- a/
compiler/basicTypes/VarSet.lhs
+++ b/
compiler/basicTypes/VarSet.lhs
@@
-4,11
+4,11
@@
%
\begin{code}
%
\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
-- 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 VarSet (
-- for details
module VarSet (
diff --git
a/compiler/cmm/CLabel.hs
b/compiler/cmm/CLabel.hs
index
14009f4
..
fcb8dfa
100644
(file)
--- a/
compiler/cmm/CLabel.hs
+++ b/
compiler/cmm/CLabel.hs
@@
-6,11
+6,11
@@
--
-----------------------------------------------------------------------------
--
-----------------------------------------------------------------------------
-{-# 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
-- 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 CLabel (
-- for details
module CLabel (
diff --git
a/compiler/cmm/Cmm.hs
b/compiler/cmm/Cmm.hs
index
61724a1
..
c8c1f27
100644
(file)
--- a/
compiler/cmm/Cmm.hs
+++ b/
compiler/cmm/Cmm.hs
@@
-6,11
+6,11
@@
--
-----------------------------------------------------------------------------
--
-----------------------------------------------------------------------------
-{-# 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
-- 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 Cmm (
-- for details
module Cmm (
diff --git
a/compiler/cmm/CmmBrokenBlock.hs
b/compiler/cmm/CmmBrokenBlock.hs
index
130e578
..
2d2f820
100644
(file)
--- a/
compiler/cmm/CmmBrokenBlock.hs
+++ b/
compiler/cmm/CmmBrokenBlock.hs
@@
-1,8
+1,8
@@
-{-# 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
-- 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 CmmBrokenBlock (
-- for details
module CmmBrokenBlock (
diff --git
a/compiler/cmm/CmmCPS.hs
b/compiler/cmm/CmmCPS.hs
index
dee5dfc
..
495cc1e
100644
(file)
--- a/
compiler/cmm/CmmCPS.hs
+++ b/
compiler/cmm/CmmCPS.hs
@@
-1,8
+1,8
@@
-{-# 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
-- 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 CmmCPS (
-- for details
module CmmCPS (
diff --git
a/compiler/cmm/CmmCPSGen.hs
b/compiler/cmm/CmmCPSGen.hs
index
47d5c38
..
9147957
100644
(file)
--- a/
compiler/cmm/CmmCPSGen.hs
+++ b/
compiler/cmm/CmmCPSGen.hs
@@
-1,8
+1,8
@@
-{-# 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
-- 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 CmmCPSGen (
-- for details
module CmmCPSGen (
diff --git
a/compiler/cmm/CmmCallConv.hs
b/compiler/cmm/CmmCallConv.hs
index
57ea017
..
d24d77a
100644
(file)
--- a/
compiler/cmm/CmmCallConv.hs
+++ b/
compiler/cmm/CmmCallConv.hs
@@
-1,8
+1,8
@@
-{-# 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
-- 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 CmmCallConv (
-- for details
module CmmCallConv (
diff --git
a/compiler/cmm/CmmInfo.hs
b/compiler/cmm/CmmInfo.hs
index
085f863
..
b6c8cb6
100644
(file)
--- a/
compiler/cmm/CmmInfo.hs
+++ b/
compiler/cmm/CmmInfo.hs
@@
-1,8
+1,8
@@
-{-# 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
-- 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 CmmInfo (
-- for details
module CmmInfo (
diff --git
a/compiler/cmm/CmmLex.x
b/compiler/cmm/CmmLex.x
index
d78f88a
..
6ed72d2
100644
(file)
--- a/
compiler/cmm/CmmLex.x
+++ b/
compiler/cmm/CmmLex.x
@@
-11,11
+11,11
@@
-----------------------------------------------------------------------------
{
-----------------------------------------------------------------------------
{
-{-# 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
-- 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 CmmLex (
-- for details
module CmmLex (
diff --git
a/compiler/cmm/CmmLint.hs
b/compiler/cmm/CmmLint.hs
index
c2ef7e7
..
c4c7434
100644
(file)
--- a/
compiler/cmm/CmmLint.hs
+++ b/
compiler/cmm/CmmLint.hs
@@
-1,8
+1,8
@@
-{-# 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
-- 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
-----------------------------------------------------------------------------
-- for details
-----------------------------------------------------------------------------
diff --git
a/compiler/cmm/CmmLive.hs
b/compiler/cmm/CmmLive.hs
index
664af6b
..
3797220
100644
(file)
--- a/
compiler/cmm/CmmLive.hs
+++ b/
compiler/cmm/CmmLive.hs
@@
-1,8
+1,8
@@
-{-# 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
-- 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 CmmLive (
-- for details
module CmmLive (
diff --git
a/compiler/cmm/CmmOpt.hs
b/compiler/cmm/CmmOpt.hs
index
8d8119e
..
37fc485
100644
(file)
--- a/
compiler/cmm/CmmOpt.hs
+++ b/
compiler/cmm/CmmOpt.hs
@@
-6,11
+6,11
@@
--
-----------------------------------------------------------------------------
--
-----------------------------------------------------------------------------
-{-# 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
-- 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 CmmOpt (
-- for details
module CmmOpt (
diff --git
a/compiler/cmm/CmmParse.y
b/compiler/cmm/CmmParse.y
index
039c616
..
bd78631
100644
(file)
--- a/
compiler/cmm/CmmParse.y
+++ b/
compiler/cmm/CmmParse.y
@@
-7,11
+7,11
@@
-----------------------------------------------------------------------------
{
-----------------------------------------------------------------------------
{
-{-# 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
-- 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 CmmParse ( parseCmmFile ) where
-- for details
module CmmParse ( parseCmmFile ) where
diff --git
a/compiler/cmm/CmmProcPoint.hs
b/compiler/cmm/CmmProcPoint.hs
index
f7af8ca
..
9c8dda8
100644
(file)
--- a/
compiler/cmm/CmmProcPoint.hs
+++ b/
compiler/cmm/CmmProcPoint.hs
@@
-1,8
+1,8
@@
-{-# 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
-- 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 CmmProcPoint (
-- for details
module CmmProcPoint (
diff --git
a/compiler/cmm/CmmUtils.hs
b/compiler/cmm/CmmUtils.hs
index
6737bc6
..
9f46217
100644
(file)
--- a/
compiler/cmm/CmmUtils.hs
+++ b/
compiler/cmm/CmmUtils.hs
@@
-6,11
+6,11
@@
--
-----------------------------------------------------------------------------
--
-----------------------------------------------------------------------------
-{-# 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
-- 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 CmmUtils(
-- for details
module CmmUtils(
diff --git
a/compiler/cmm/Dataflow.hs
b/compiler/cmm/Dataflow.hs
index
6414139
..
6c54f73
100644
(file)
--- a/
compiler/cmm/Dataflow.hs
+++ b/
compiler/cmm/Dataflow.hs
@@
-1,8
+1,8
@@
-{-# 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
-- 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 Dataflow (
-- for details
module Dataflow (
diff --git
a/compiler/cmm/MachOp.hs
b/compiler/cmm/MachOp.hs
index
766f4f3
..
67981d6
100644
(file)
--- a/
compiler/cmm/MachOp.hs
+++ b/
compiler/cmm/MachOp.hs
@@
-6,11
+6,11
@@
--
-----------------------------------------------------------------------------
--
-----------------------------------------------------------------------------
-{-# 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
-- 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 MachOp (
-- for details
module MachOp (
diff --git
a/compiler/cmm/PprC.hs
b/compiler/cmm/PprC.hs
index
7127be3
..
16f68c9
100644
(file)
--- a/
compiler/cmm/PprC.hs
+++ b/
compiler/cmm/PprC.hs
@@
-16,11
+16,11
@@
-- ToDo: save/restore volatile registers around calls.
-- ToDo: save/restore volatile registers around calls.
-{-# 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
-- 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 PprC (
-- for details
module PprC (
diff --git
a/compiler/cmm/PprCmm.hs
b/compiler/cmm/PprCmm.hs
index
f4e38d6
..
7a1ffbb
100644
(file)
--- a/
compiler/cmm/PprCmm.hs
+++ b/
compiler/cmm/PprCmm.hs
@@
-1,8
+1,8
@@
-{-# 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
-- 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
----------------------------------------------------------------------------
-- for details
----------------------------------------------------------------------------
diff --git
a/compiler/codeGen/Bitmap.hs
b/compiler/codeGen/Bitmap.hs
index
2a8f72d
..
bf43635
100644
(file)
--- a/
compiler/codeGen/Bitmap.hs
+++ b/
compiler/codeGen/Bitmap.hs
@@
-6,11
+6,11
@@
-- places in generated code (stack frame liveness masks, function
-- argument liveness masks, SRT bitmaps).
-- places in generated code (stack frame liveness masks, function
-- argument liveness masks, SRT bitmaps).
-{-# 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
-- 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 Bitmap (
-- for details
module Bitmap (
diff --git
a/compiler/codeGen/CgBindery.lhs
b/compiler/codeGen/CgBindery.lhs
index
0d76f82
..
600589b
100644
(file)
--- a/
compiler/codeGen/CgBindery.lhs
+++ b/
compiler/codeGen/CgBindery.lhs
@@
-5,11
+5,11
@@
\section[CgBindery]{Utility functions related to doing @CgBindings@}
\begin{code}
\section[CgBindery]{Utility functions related to doing @CgBindings@}
\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
-- 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 CgBindery (
-- for details
module CgBindery (
diff --git
a/compiler/codeGen/CgCallConv.hs
b/compiler/codeGen/CgCallConv.hs
index
6e58976
..
cf7b1ec
100644
(file)
--- a/
compiler/codeGen/CgCallConv.hs
+++ b/
compiler/codeGen/CgCallConv.hs
@@
-9,11
+9,11
@@
--
-----------------------------------------------------------------------------
--
-----------------------------------------------------------------------------
-{-# 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
-- 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 CgCallConv (
-- for details
module CgCallConv (
diff --git
a/compiler/codeGen/CgCase.lhs
b/compiler/codeGen/CgCase.lhs
index
a7e90ce
..
1bde706
100644
(file)
--- a/
compiler/codeGen/CgCase.lhs
+++ b/
compiler/codeGen/CgCase.lhs
@@
-4,11
+4,11
@@
%
\begin{code}
%
\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
-- 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 CgCase ( cgCase, saveVolatileVarsAndRegs,
-- for details
module CgCase ( cgCase, saveVolatileVarsAndRegs,
diff --git
a/compiler/codeGen/CgClosure.lhs
b/compiler/codeGen/CgClosure.lhs
index
7bf9f07
..
c15b20c
100644
(file)
--- a/
compiler/codeGen/CgClosure.lhs
+++ b/
compiler/codeGen/CgClosure.lhs
@@
-9,11
+9,11
@@
with {\em closures} on the RHSs of let(rec)s. See also
@CgCon@, which deals with constructors.
\begin{code}
@CgCon@, which deals with constructors.
\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
-- 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 CgClosure ( cgTopRhsClosure,
-- for details
module CgClosure ( cgTopRhsClosure,
diff --git
a/compiler/codeGen/CgCon.lhs
b/compiler/codeGen/CgCon.lhs
index
bd74202
..
56002fb
100644
(file)
--- a/
compiler/codeGen/CgCon.lhs
+++ b/
compiler/codeGen/CgCon.lhs
@@
-9,11
+9,11
@@
with {\em constructors} on the RHSs of let(rec)s. See also
@CgClosure@, which deals with closures.
\begin{code}
@CgClosure@, which deals with closures.
\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
-- 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 CgCon (
-- for details
module CgCon (
diff --git
a/compiler/codeGen/CgExpr.lhs
b/compiler/codeGen/CgExpr.lhs
index
7ca96e3
..
5cad81b
100644
(file)
--- a/
compiler/codeGen/CgExpr.lhs
+++ b/
compiler/codeGen/CgExpr.lhs
@@
-4,11
+4,11
@@
%
\begin{code}
%
\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
-- 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 CgExpr ( cgExpr ) where
-- for details
module CgExpr ( cgExpr ) where
diff --git
a/compiler/codeGen/CgForeignCall.hs
b/compiler/codeGen/CgForeignCall.hs
index
23b68d8
..
2086eb2
100644
(file)
--- a/
compiler/codeGen/CgForeignCall.hs
+++ b/
compiler/codeGen/CgForeignCall.hs
@@
-6,11
+6,11
@@
--
-----------------------------------------------------------------------------
--
-----------------------------------------------------------------------------
-{-# 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
-- 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 CgForeignCall (
-- for details
module CgForeignCall (
diff --git
a/compiler/codeGen/CgHeapery.lhs
b/compiler/codeGen/CgHeapery.lhs
index
10f5049
..
55e217b
100644
(file)
--- a/
compiler/codeGen/CgHeapery.lhs
+++ b/
compiler/codeGen/CgHeapery.lhs
@@
-5,11
+5,11
@@
\section[CgHeapery]{Heap management functions}
\begin{code}
\section[CgHeapery]{Heap management functions}
\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
-- 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 CgHeapery (
-- for details
module CgHeapery (
diff --git
a/compiler/codeGen/CgHpc.hs
b/compiler/codeGen/CgHpc.hs
index
acaa266
..
b2e3a9a
100644
(file)
--- a/
compiler/codeGen/CgHpc.hs
+++ b/
compiler/codeGen/CgHpc.hs
@@
-6,11
+6,11
@@
--
-----------------------------------------------------------------------------
--
-----------------------------------------------------------------------------
-{-# 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
-- 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 CgHpc (cgTickBox, initHpc, hpcTable) where
-- for details
module CgHpc (cgTickBox, initHpc, hpcTable) where
diff --git
a/compiler/codeGen/CgInfoTbls.hs
b/compiler/codeGen/CgInfoTbls.hs
index
36782ff
..
3d28a58
100644
(file)
--- a/
compiler/codeGen/CgInfoTbls.hs
+++ b/
compiler/codeGen/CgInfoTbls.hs
@@
-6,11
+6,11
@@
--
-----------------------------------------------------------------------------
--
-----------------------------------------------------------------------------
-{-# 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
-- 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 CgInfoTbls (
-- for details
module CgInfoTbls (
diff --git
a/compiler/codeGen/CgLetNoEscape.lhs
b/compiler/codeGen/CgLetNoEscape.lhs
index
3d8c6fd
..
e3db6dc
100644
(file)
--- a/
compiler/codeGen/CgLetNoEscape.lhs
+++ b/
compiler/codeGen/CgLetNoEscape.lhs
@@
-9,11
+9,11
@@
%********************************************************
\begin{code}
%********************************************************
\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
-- 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 CgLetNoEscape ( cgLetNoEscapeClosure ) where
-- for details
module CgLetNoEscape ( cgLetNoEscapeClosure ) where
diff --git
a/compiler/codeGen/CgMonad.lhs
b/compiler/codeGen/CgMonad.lhs
index
6861a2c
..
47eb1f9
100644
(file)
--- 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}
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
-- 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 (
-- for details
module CgMonad (
diff --git
a/compiler/codeGen/CgParallel.hs
b/compiler/codeGen/CgParallel.hs
index
4634131
..
e340a47
100644
(file)
--- a/
compiler/codeGen/CgParallel.hs
+++ b/
compiler/codeGen/CgParallel.hs
@@
-8,11
+8,11
@@
--
-----------------------------------------------------------------------------
--
-----------------------------------------------------------------------------
-{-# 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
-- 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 CgParallel(
-- for details
module CgParallel(
diff --git
a/compiler/codeGen/CgPrimOp.hs
b/compiler/codeGen/CgPrimOp.hs
index
c81cd56
..
679449e
100644
(file)
--- a/
compiler/codeGen/CgPrimOp.hs
+++ b/
compiler/codeGen/CgPrimOp.hs
@@
-6,11
+6,11
@@
--
-----------------------------------------------------------------------------
--
-----------------------------------------------------------------------------
-{-# 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
-- 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 CgPrimOp (
-- for details
module CgPrimOp (
diff --git
a/compiler/codeGen/CgProf.hs
b/compiler/codeGen/CgProf.hs
index
47dabed
..
39d4505
100644
(file)
--- a/
compiler/codeGen/CgProf.hs
+++ b/
compiler/codeGen/CgProf.hs
@@
-6,11
+6,11
@@
--
-----------------------------------------------------------------------------
--
-----------------------------------------------------------------------------
-{-# 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
-- 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 CgProf (
-- for details
module CgProf (
diff --git
a/compiler/codeGen/CgStackery.lhs
b/compiler/codeGen/CgStackery.lhs
index
549de5b
..
e015895
100644
(file)
--- a/
compiler/codeGen/CgStackery.lhs
+++ b/
compiler/codeGen/CgStackery.lhs
@@
-8,11
+8,11
@@
Stack-twiddling operations, which are pretty low-down and grimy.
(This is the module that knows all about stack layouts, etc.)
\begin{code}
(This is the module that knows all about stack layouts, etc.)
\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
-- 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 CgStackery (
-- for details
module CgStackery (
diff --git
a/compiler/codeGen/CgTailCall.lhs
b/compiler/codeGen/CgTailCall.lhs
index
d5943f5
..
1e5b931
100644
(file)
--- a/
compiler/codeGen/CgTailCall.lhs
+++ b/
compiler/codeGen/CgTailCall.lhs
@@
-5,11
+5,11
@@
% Code generation for tail calls.
\begin{code}
% Code generation for tail calls.
\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
-- 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 CgTailCall (
-- for details
module CgTailCall (
diff --git
a/compiler/codeGen/CgTicky.hs
b/compiler/codeGen/CgTicky.hs
index
0339667
..
d9b674d
100644
(file)
--- a/
compiler/codeGen/CgTicky.hs
+++ b/
compiler/codeGen/CgTicky.hs
@@
-6,11
+6,11
@@
--
-----------------------------------------------------------------------------
--
-----------------------------------------------------------------------------
-{-# 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
-- 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 CgTicky (
-- for details
module CgTicky (
diff --git
a/compiler/codeGen/CgUtils.hs
b/compiler/codeGen/CgUtils.hs
index
f438a43
..
82bce00
100644
(file)
--- a/
compiler/codeGen/CgUtils.hs
+++ b/
compiler/codeGen/CgUtils.hs
@@
-6,11
+6,11
@@
--
-----------------------------------------------------------------------------
--
-----------------------------------------------------------------------------
-{-# 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
-- 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 CgUtils (
-- for details
module CgUtils (
diff --git
a/compiler/codeGen/ClosureInfo.lhs
b/compiler/codeGen/ClosureInfo.lhs
index
1a61c74
..
056d0d8
100644
(file)
--- a/
compiler/codeGen/ClosureInfo.lhs
+++ b/
compiler/codeGen/ClosureInfo.lhs
@@
-12,11
+12,11
@@
Much of the rationale for these things is in the ``details'' part of
the STG paper.
\begin{code}
the STG paper.
\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
-- 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 ClosureInfo (
-- for details
module ClosureInfo (
diff --git
a/compiler/codeGen/CodeGen.lhs
b/compiler/codeGen/CodeGen.lhs
index
3aa75c0
..
30ebd83
100644
(file)
--- a/
compiler/codeGen/CodeGen.lhs
+++ b/
compiler/codeGen/CodeGen.lhs
@@
-11,11
+11,11
@@
This module says how things get going at the top level.
functions drive the mangling of top-level bindings.
\begin{code}
functions drive the mangling of top-level bindings.
\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
-- 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 CodeGen ( codeGen ) where
-- for details
module CodeGen ( codeGen ) where
diff --git
a/compiler/codeGen/SMRep.lhs
b/compiler/codeGen/SMRep.lhs
index
a96bc88
..
fa7945c
100644
(file)
--- a/
compiler/codeGen/SMRep.lhs
+++ b/
compiler/codeGen/SMRep.lhs
@@
-9,11
+9,11
@@
This is here, rather than in ClosureInfo, just to keep nhc happy.
Other modules should access this info through ClosureInfo.
\begin{code}
Other modules should access this info through ClosureInfo.
\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
-- 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 SMRep (
-- for details
module SMRep (
diff --git
a/compiler/coreSyn/CoreFVs.lhs
b/compiler/coreSyn/CoreFVs.lhs
index
655495e
..
752dcf0
100644
(file)
--- a/
compiler/coreSyn/CoreFVs.lhs
+++ b/
compiler/coreSyn/CoreFVs.lhs
@@
-5,11
+5,11
@@
Taken quite directly from the Peyton Jones/Lester paper.
\begin{code}
Taken quite directly from the Peyton Jones/Lester paper.
\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
-- 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 CoreFVs (
-- for details
module CoreFVs (
diff --git
a/compiler/coreSyn/CoreLint.lhs
b/compiler/coreSyn/CoreLint.lhs
index
18b65d5
..
042a4c4
100644
(file)
--- a/
compiler/coreSyn/CoreLint.lhs
+++ b/
compiler/coreSyn/CoreLint.lhs
@@
-6,11
+6,11
@@
A ``lint'' pass to check for Core correctness
\begin{code}
A ``lint'' pass to check for Core correctness
\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
-- 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 CoreLint (
-- for details
module CoreLint (
diff --git
a/compiler/coreSyn/CorePrep.lhs
b/compiler/coreSyn/CorePrep.lhs
index
049960f
..
e0d0e3a
100644
(file)
--- a/
compiler/coreSyn/CorePrep.lhs
+++ b/
compiler/coreSyn/CorePrep.lhs
@@
-5,11
+5,11
@@
Core pass to saturate constructors and PrimOps
\begin{code}
Core pass to saturate constructors and PrimOps
\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
-- 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 CorePrep (
-- for details
module CorePrep (
diff --git
a/compiler/coreSyn/CoreSubst.lhs
b/compiler/coreSyn/CoreSubst.lhs
index
2029180
..
9561f39
100644
(file)
--- a/
compiler/coreSyn/CoreSubst.lhs
+++ b/
compiler/coreSyn/CoreSubst.lhs
@@
-6,11
+6,11
@@
Utility functions on @Core@ syntax
\begin{code}
Utility functions on @Core@ syntax
\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
-- 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 CoreSubst (
-- for details
module CoreSubst (
diff --git
a/compiler/coreSyn/CoreSyn.lhs
b/compiler/coreSyn/CoreSyn.lhs
index
1328b72
..
64de151
100644
(file)
--- a/
compiler/coreSyn/CoreSyn.lhs
+++ b/
compiler/coreSyn/CoreSyn.lhs
@@
-6,11
+6,11
@@
CoreSyn: A data type for the Haskell compiler midsection
\begin{code}
CoreSyn: A data type for the Haskell compiler midsection
\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
-- 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 CoreSyn (
-- for details
module CoreSyn (
diff --git
a/compiler/coreSyn/CoreTidy.lhs
b/compiler/coreSyn/CoreTidy.lhs
index
6fdc811
..
696cadd
100644
(file)
--- a/
compiler/coreSyn/CoreTidy.lhs
+++ b/
compiler/coreSyn/CoreTidy.lhs
@@
-7,11
+7,11
@@
This module contains "tidying" code for *nested* expressions, bindings, rules.
The code for *top-level* bindings is in TidyPgm.
\begin{code}
The code for *top-level* bindings is in TidyPgm.
\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
-- 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 CoreTidy (
-- for details
module CoreTidy (
diff --git
a/compiler/coreSyn/CoreUnfold.lhs
b/compiler/coreSyn/CoreUnfold.lhs
index
95a05d0
..
107e65e
100644
(file)
--- a/
compiler/coreSyn/CoreUnfold.lhs
+++ b/
compiler/coreSyn/CoreUnfold.lhs
@@
-15,11
+15,11
@@
literal''). In the corner of a @CoreUnfolding@ unfolding, you will
find, unsurprisingly, a Core expression.
\begin{code}
find, unsurprisingly, a Core expression.
\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
-- 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 CoreUnfold (
-- for details
module CoreUnfold (
diff --git
a/compiler/coreSyn/CoreUtils.lhs
b/compiler/coreSyn/CoreUtils.lhs
index
b58825b
..
0bd375d
100644
(file)
--- a/
compiler/coreSyn/CoreUtils.lhs
+++ b/
compiler/coreSyn/CoreUtils.lhs
@@
-6,11
+6,11
@@
Utility functions on @Core@ syntax
\begin{code}
Utility functions on @Core@ syntax
\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
-- 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 CoreUtils (
-- for details
module CoreUtils (
diff --git
a/compiler/coreSyn/ExternalCore.lhs
b/compiler/coreSyn/ExternalCore.lhs
index
3a235f9
..
2e005de
100644
(file)
--- a/
compiler/coreSyn/ExternalCore.lhs
+++ b/
compiler/coreSyn/ExternalCore.lhs
@@
-2,11
+2,11
@@
% (c) The University of Glasgow 2001-2006
%
\begin{code}
% (c) The University of Glasgow 2001-2006
%
\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
-- 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 ExternalCore where
-- for details
module ExternalCore where
diff --git
a/compiler/coreSyn/MkExternalCore.lhs
b/compiler/coreSyn/MkExternalCore.lhs
index
43dcfbe
..
12513c6
100644
(file)
--- a/
compiler/coreSyn/MkExternalCore.lhs
+++ b/
compiler/coreSyn/MkExternalCore.lhs
@@
-2,11
+2,11
@@
% (c) The University of Glasgow 2001-2006
%
\begin{code}
% (c) The University of Glasgow 2001-2006
%
\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
-- 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 MkExternalCore (
-- for details
module MkExternalCore (
diff --git
a/compiler/coreSyn/PprCore.lhs
b/compiler/coreSyn/PprCore.lhs
index
f671f07
..
7aa120a
100644
(file)
--- a/
compiler/coreSyn/PprCore.lhs
+++ b/
compiler/coreSyn/PprCore.lhs
@@
-6,11
+6,11
@@
Printing of Core syntax
\begin{code}
Printing of Core syntax
\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
-- 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 PprCore (
-- for details
module PprCore (
diff --git
a/compiler/coreSyn/PprExternalCore.lhs
b/compiler/coreSyn/PprExternalCore.lhs
index
ded798c
..
9fcf166
100644
(file)
--- a/
compiler/coreSyn/PprExternalCore.lhs
+++ b/
compiler/coreSyn/PprExternalCore.lhs
@@
-3,11
+3,11
@@
%
\begin{code}
%
\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
-- 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 PprExternalCore () where
-- for details
module PprExternalCore () where
diff --git
a/compiler/cprAnalysis/CprAnalyse.lhs
b/compiler/cprAnalysis/CprAnalyse.lhs
index
f46d370
..
a043798
100644
(file)
--- a/
compiler/cprAnalysis/CprAnalyse.lhs
+++ b/
compiler/cprAnalysis/CprAnalyse.lhs
@@
-4,11
+4,11
@@
constructed product result}
\begin{code}
constructed product result}
\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
-- 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
#ifndef OLD_STRICTNESS
-- for details
#ifndef OLD_STRICTNESS
diff --git
a/compiler/deSugar/Check.lhs
b/compiler/deSugar/Check.lhs
index
5c90aa4
..
0ce5638
100644
(file)
--- a/
compiler/deSugar/Check.lhs
+++ b/
compiler/deSugar/Check.lhs
@@
-5,11
+5,11
@@
% Author: Juan J. Quintela <quintela@krilin.dc.fi.udc.es>
\begin{code}
% Author: Juan J. Quintela <quintela@krilin.dc.fi.udc.es>
\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
-- 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 Check ( check , ExhaustivePat ) where
-- for details
module Check ( check , ExhaustivePat ) where
diff --git
a/compiler/deSugar/Coverage.lhs
b/compiler/deSugar/Coverage.lhs
index
54304f7
..
0156651
100644
(file)
--- a/
compiler/deSugar/Coverage.lhs
+++ b/
compiler/deSugar/Coverage.lhs
@@
-5,11
+5,11
@@
\section[Coverage]{@coverage@: the main function}
\begin{code}
\section[Coverage]{@coverage@: the main function}
\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
-- 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 Coverage (addCoverageTicksToBinds) where
-- for details
module Coverage (addCoverageTicksToBinds) where
diff --git
a/compiler/deSugar/Desugar.lhs
b/compiler/deSugar/Desugar.lhs
index
f740739
..
7cbd576
100644
(file)
--- a/
compiler/deSugar/Desugar.lhs
+++ b/
compiler/deSugar/Desugar.lhs
@@
-6,11
+6,11
@@
The Desugarer: turning HsSyn into Core.
\begin{code}
The Desugarer: turning HsSyn into Core.
\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
-- 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 Desugar ( deSugar, deSugarExpr ) where
-- for details
module Desugar ( deSugar, deSugarExpr ) where
diff --git
a/compiler/deSugar/DsArrows.lhs
b/compiler/deSugar/DsArrows.lhs
index
86b52ed
..
167c323
100644
(file)
--- a/
compiler/deSugar/DsArrows.lhs
+++ b/
compiler/deSugar/DsArrows.lhs
@@
-6,11
+6,11
@@
Desugaring arrow commands
\begin{code}
Desugaring arrow commands
\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
-- 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 DsArrows ( dsProcExpr ) where
-- for details
module DsArrows ( dsProcExpr ) where
diff --git
a/compiler/deSugar/DsBinds.lhs
b/compiler/deSugar/DsBinds.lhs
index
82c9455
..
9bf8fd3
100644
(file)
--- a/
compiler/deSugar/DsBinds.lhs
+++ b/
compiler/deSugar/DsBinds.lhs
@@
-10,11
+10,11
@@
in that the @Rec@/@NonRec@/etc structure is thrown away (whereas at
lower levels it is preserved with @let@/@letrec@s).
\begin{code}
lower levels it is preserved with @let@/@letrec@s).
\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
-- 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 DsBinds ( dsTopLHsBinds, dsLHsBinds, decomposeRuleLhs,
-- for details
module DsBinds ( dsTopLHsBinds, dsLHsBinds, decomposeRuleLhs,
diff --git
a/compiler/deSugar/DsCCall.lhs
b/compiler/deSugar/DsCCall.lhs
index
7148071
..
fc4305b
100644
(file)
--- a/
compiler/deSugar/DsCCall.lhs
+++ b/
compiler/deSugar/DsCCall.lhs
@@
-6,11
+6,11
@@
Desugaring foreign calls
\begin{code}
Desugaring foreign calls
\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
-- 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 DsCCall
-- for details
module DsCCall
diff --git
a/compiler/deSugar/DsExpr.lhs
b/compiler/deSugar/DsExpr.lhs
index
693fbdd
..
97c5d15
100644
(file)
--- a/
compiler/deSugar/DsExpr.lhs
+++ b/
compiler/deSugar/DsExpr.lhs
@@
-6,11
+6,11
@@
Desugaring exporessions.
\begin{code}
Desugaring exporessions.
\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
-- 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 DsExpr ( dsExpr, dsLExpr, dsLocalBinds, dsValBinds, dsLit ) where
-- for details
module DsExpr ( dsExpr, dsLExpr, dsLocalBinds, dsValBinds, dsLit ) where
diff --git
a/compiler/deSugar/DsForeign.lhs
b/compiler/deSugar/DsForeign.lhs
index
fd37a66
..
45eb813
100644
(file)
--- a/
compiler/deSugar/DsForeign.lhs
+++ b/
compiler/deSugar/DsForeign.lhs
@@
-6,11
+6,11
@@
Desugaring foreign declarations (see also DsCCall).
\begin{code}
Desugaring foreign declarations (see also DsCCall).
\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
-- 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 DsForeign ( dsForeigns ) where
-- for details
module DsForeign ( dsForeigns ) where
diff --git
a/compiler/deSugar/DsGRHSs.lhs
b/compiler/deSugar/DsGRHSs.lhs
index
b642859
..
e0bb5f2
100644
(file)
--- a/
compiler/deSugar/DsGRHSs.lhs
+++ b/
compiler/deSugar/DsGRHSs.lhs
@@
-6,11
+6,11
@@
Matching guarded right-hand-sides (GRHSs)
\begin{code}
Matching guarded right-hand-sides (GRHSs)
\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
-- 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 DsGRHSs ( dsGuarded, dsGRHSs ) where
-- for details
module DsGRHSs ( dsGuarded, dsGRHSs ) where
diff --git
a/compiler/deSugar/DsListComp.lhs
b/compiler/deSugar/DsListComp.lhs
index
a1133e8
..
35c2730
100644
(file)
--- a/
compiler/deSugar/DsListComp.lhs
+++ b/
compiler/deSugar/DsListComp.lhs
@@
-6,11
+6,11
@@
Desugaring list comprehensions and array comprehensions
\begin{code}
Desugaring list comprehensions and array comprehensions
\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
-- 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 DsListComp ( dsListComp, dsPArrComp ) where
-- for details
module DsListComp ( dsListComp, dsPArrComp ) where
diff --git
a/compiler/deSugar/DsMeta.hs
b/compiler/deSugar/DsMeta.hs
index
983c3ea
..
7fbce31
100644
(file)
--- a/
compiler/deSugar/DsMeta.hs
+++ b/
compiler/deSugar/DsMeta.hs
@@
-13,11
+13,11
@@
-- a Royal Pain (triggers other recompilation).
-----------------------------------------------------------------------------
-- a Royal Pain (triggers other recompilation).
-----------------------------------------------------------------------------
-{-# 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
-- 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 DsMeta( dsBracket,
-- for details
module DsMeta( dsBracket,
diff --git
a/compiler/deSugar/DsMonad.lhs
b/compiler/deSugar/DsMonad.lhs
index
4af6f68
..
6459ca8
100644
(file)
--- a/
compiler/deSugar/DsMonad.lhs
+++ b/
compiler/deSugar/DsMonad.lhs
@@
-6,11
+6,11
@@
@DsMonad@: monadery used in desugaring
\begin{code}
@DsMonad@: monadery used in desugaring
\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
-- 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 DsMonad (
-- for details
module DsMonad (
diff --git
a/compiler/deSugar/DsUtils.lhs
b/compiler/deSugar/DsUtils.lhs
index
6d2b2c6
..
209b017
100644
(file)
--- a/
compiler/deSugar/DsUtils.lhs
+++ b/
compiler/deSugar/DsUtils.lhs
@@
-8,11
+8,11
@@
Utilities for desugaring
This module exports some utility functions of no great interest.
\begin{code}
This module exports some utility functions of no great interest.
\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
-- 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 DsUtils (
-- for details
module DsUtils (
diff --git
a/compiler/deSugar/Match.lhs
b/compiler/deSugar/Match.lhs
index
21818a2
..
a95e25a
100644
(file)
--- a/
compiler/deSugar/Match.lhs
+++ b/
compiler/deSugar/Match.lhs
@@
-6,11
+6,11
@@
The @match@ function
\begin{code}
The @match@ function
\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
-- 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 Match ( match, matchEquations, matchWrapper, matchSimply, matchSinglePat ) where
-- for details
module Match ( match, matchEquations, matchWrapper, matchSimply, matchSinglePat ) where
diff --git
a/compiler/deSugar/MatchCon.lhs
b/compiler/deSugar/MatchCon.lhs
index
bd4a9b7
..
3bd8ff6
100644
(file)
--- a/
compiler/deSugar/MatchCon.lhs
+++ b/
compiler/deSugar/MatchCon.lhs
@@
-6,11
+6,11
@@
Pattern-matching constructors
\begin{code}
Pattern-matching constructors
\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
-- 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 MatchCon ( matchConFamily ) where
-- for details
module MatchCon ( matchConFamily ) where
diff --git
a/compiler/deSugar/MatchLit.lhs
b/compiler/deSugar/MatchLit.lhs
index
c8e8e62
..
f1ea487
100644
(file)
--- a/
compiler/deSugar/MatchLit.lhs
+++ b/
compiler/deSugar/MatchLit.lhs
@@
-6,11
+6,11
@@
Pattern-matching literal patterns
\begin{code}
Pattern-matching literal patterns
\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
-- 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 MatchLit ( dsLit, dsOverLit, hsLitKey, hsOverLitKey,
-- for details
module MatchLit ( dsLit, dsOverLit, hsLitKey, hsOverLitKey,
diff --git
a/compiler/ghci/ByteCodeAsm.lhs
b/compiler/ghci/ByteCodeAsm.lhs
index
6502ac4
..
aa8c436
100644
(file)
--- a/
compiler/ghci/ByteCodeAsm.lhs
+++ b/
compiler/ghci/ByteCodeAsm.lhs
@@
-7,11
+7,11
@@
ByteCodeLink: Bytecode assembler and linker
\begin{code}
{-# OPTIONS -optc-DNON_POSIX_SOURCE #-}
\begin{code}
{-# OPTIONS -optc-DNON_POSIX_SOURCE #-}
-{-# 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
-- 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 ByteCodeAsm (
-- for details
module ByteCodeAsm (
diff --git
a/compiler/ghci/ByteCodeFFI.lhs
b/compiler/ghci/ByteCodeFFI.lhs
index
9daef0a
..
09b32da
100644
(file)
--- a/
compiler/ghci/ByteCodeFFI.lhs
+++ b/
compiler/ghci/ByteCodeFFI.lhs
@@
-5,11
+5,11
@@
ByteCodeGen: Generate machine-code sequences for foreign import
\begin{code}
ByteCodeGen: Generate machine-code sequences for foreign import
\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
-- 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 ByteCodeFFI ( mkMarshalCode, moan64, newExec ) where
-- for details
module ByteCodeFFI ( mkMarshalCode, moan64, newExec ) where
diff --git
a/compiler/ghci/ByteCodeGen.lhs
b/compiler/ghci/ByteCodeGen.lhs
index
a67d003
..
3138e8e
100644
(file)
--- a/
compiler/ghci/ByteCodeGen.lhs
+++ b/
compiler/ghci/ByteCodeGen.lhs
@@
-5,11
+5,11
@@
ByteCodeGen: Generate bytecode from Core
\begin{code}
ByteCodeGen: Generate bytecode from Core
\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
-- 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 ByteCodeGen ( UnlinkedBCO, byteCodeGen, coreExprToBCOs ) where
-- for details
module ByteCodeGen ( UnlinkedBCO, byteCodeGen, coreExprToBCOs ) where
diff --git
a/compiler/ghci/ByteCodeInstr.lhs
b/compiler/ghci/ByteCodeInstr.lhs
index
ffd7c71
..
3c2d10d
100644
(file)
--- a/
compiler/ghci/ByteCodeInstr.lhs
+++ b/
compiler/ghci/ByteCodeInstr.lhs
@@
-6,11
+6,11
@@
ByteCodeInstrs: Bytecode instruction definitions
\begin{code}
{-# OPTIONS_GHC -funbox-strict-fields #-}
\begin{code}
{-# OPTIONS_GHC -funbox-strict-fields #-}
-{-# 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
-- 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 ByteCodeInstr (
-- for details
module ByteCodeInstr (
diff --git
a/compiler/ghci/ByteCodeItbls.lhs
b/compiler/ghci/ByteCodeItbls.lhs
index
2d07bef
..
73b58cd
100644
(file)
--- a/
compiler/ghci/ByteCodeItbls.lhs
+++ b/
compiler/ghci/ByteCodeItbls.lhs
@@
-6,11
+6,11
@@
ByteCodeItbls: Generate infotables for interpreter-made bytecodes
\begin{code}
{-# OPTIONS -optc-DNON_POSIX_SOURCE #-}
\begin{code}
{-# OPTIONS -optc-DNON_POSIX_SOURCE #-}
-{-# 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
-- 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 ByteCodeItbls ( ItblEnv, ItblPtr(..), itblCode, mkITbls
-- for details
module ByteCodeItbls ( ItblEnv, ItblPtr(..), itblCode, mkITbls
diff --git
a/compiler/ghci/ByteCodeLink.lhs
b/compiler/ghci/ByteCodeLink.lhs
index
a741772
..
65a0108
100644
(file)
--- a/
compiler/ghci/ByteCodeLink.lhs
+++ b/
compiler/ghci/ByteCodeLink.lhs
@@
-6,11
+6,11
@@
ByteCodeLink: Bytecode assembler and linker
\begin{code}
{-# OPTIONS -optc-DNON_POSIX_SOURCE #-}
\begin{code}
{-# OPTIONS -optc-DNON_POSIX_SOURCE #-}
-{-# 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
-- 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 ByteCodeLink (
-- for details
module ByteCodeLink (
diff --git
a/compiler/ghci/Debugger.hs
b/compiler/ghci/Debugger.hs
index
b69078f
..
d632d16
100644
(file)
--- a/
compiler/ghci/Debugger.hs
+++ b/
compiler/ghci/Debugger.hs
@@
-10,11
+10,11
@@
--
-----------------------------------------------------------------------------
--
-----------------------------------------------------------------------------
-{-# 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
-- 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 Debugger (pprintClosureCommand, showTerm) where
-- for details
module Debugger (pprintClosureCommand, showTerm) where
diff --git
a/compiler/ghci/GhciMonad.hs
b/compiler/ghci/GhciMonad.hs
index
c92c4e0
..
06de9e9
100644
(file)
--- a/
compiler/ghci/GhciMonad.hs
+++ b/
compiler/ghci/GhciMonad.hs
@@
-6,11
+6,11
@@
--
-----------------------------------------------------------------------------
--
-----------------------------------------------------------------------------
-{-# 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
-- 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 GhciMonad where
-- for details
module GhciMonad where
diff --git
a/compiler/ghci/GhciTags.hs
b/compiler/ghci/GhciTags.hs
index
2bd2ac0
..
80a70ca
100644
(file)
--- a/
compiler/ghci/GhciTags.hs
+++ b/
compiler/ghci/GhciTags.hs
@@
-6,11
+6,11
@@
--
-----------------------------------------------------------------------------
--
-----------------------------------------------------------------------------
-{-# 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
-- 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 GhciTags (createCTagsFileCmd, createETagsFileCmd) where
-- for details
module GhciTags (createCTagsFileCmd, createETagsFileCmd) where
diff --git
a/compiler/ghci/InteractiveUI.hs
b/compiler/ghci/InteractiveUI.hs
index
4a49352
..
dddbb34
100644
(file)
--- a/
compiler/ghci/InteractiveUI.hs
+++ b/
compiler/ghci/InteractiveUI.hs
@@
-6,11
+6,11
@@
-- (c) The GHC Team 2005-2006
--
-----------------------------------------------------------------------------
-- (c) The GHC Team 2005-2006
--
-----------------------------------------------------------------------------
-{-# 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
-- 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 InteractiveUI ( interactiveUI, ghciWelcomeMsg ) where
-- for details
module InteractiveUI ( interactiveUI, ghciWelcomeMsg ) where
diff --git
a/compiler/ghci/Linker.lhs
b/compiler/ghci/Linker.lhs
index
6f000c5
..
84f14b0
100644
(file)
--- a/
compiler/ghci/Linker.lhs
+++ b/
compiler/ghci/Linker.lhs
@@
-14,11
+14,11
@@
necessary.
\begin{code}
{-# OPTIONS -optc-DNON_POSIX_SOURCE -#include "Linker.h" #-}
\begin{code}
{-# OPTIONS -optc-DNON_POSIX_SOURCE -#include "Linker.h" #-}
-{-# 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
-- 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 Linker ( HValue, getHValue, showLinkerState,
-- for details
module Linker ( HValue, getHValue, showLinkerState,
diff --git
a/compiler/ghci/ObjLink.lhs
b/compiler/ghci/ObjLink.lhs
index
36a9d8b
..
3ba2549
100644
(file)
--- a/
compiler/ghci/ObjLink.lhs
+++ b/
compiler/ghci/ObjLink.lhs
@@
-11,11
+11,11
@@
Primarily, this module consists of an interface to the C-land dynamic linker.
\begin{code}
{-# OPTIONS -#include "Linker.h" #-}
\begin{code}
{-# OPTIONS -#include "Linker.h" #-}
-{-# 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
-- 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 ObjLink (
-- for details
module ObjLink (
diff --git
a/compiler/ghci/RtClosureInspect.hs
b/compiler/ghci/RtClosureInspect.hs
index
4b9c387
..
09afa00
100644
(file)
--- a/
compiler/ghci/RtClosureInspect.hs
+++ b/
compiler/ghci/RtClosureInspect.hs
@@
-6,11
+6,11
@@
--
-----------------------------------------------------------------------------
--
-----------------------------------------------------------------------------
-{-# 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
-- 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 RtClosureInspect(
-- for details
module RtClosureInspect(
diff --git
a/compiler/hsSyn/Convert.lhs
b/compiler/hsSyn/Convert.lhs
index
6af1244
..
18f40e3
100644
(file)
--- a/
compiler/hsSyn/Convert.lhs
+++ b/
compiler/hsSyn/Convert.lhs
@@
-6,11
+6,11
@@
This module converts Template Haskell syntax into HsSyn
\begin{code}
This module converts Template Haskell syntax into HsSyn
\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
-- 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 Convert( convertToHsExpr, convertToHsDecls,
-- for details
module Convert( convertToHsExpr, convertToHsDecls,
diff --git
a/compiler/hsSyn/HsBinds.lhs
b/compiler/hsSyn/HsBinds.lhs
index
aad04bd
..
be020b8
100644
(file)
--- a/
compiler/hsSyn/HsBinds.lhs
+++ b/
compiler/hsSyn/HsBinds.lhs
@@
-7,11
+7,11
@@
Datatype for: @BindGroup@, @Bind@, @Sig@, @Bind@.
\begin{code}
Datatype for: @BindGroup@, @Bind@, @Sig@, @Bind@.
\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
-- 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 HsBinds where
-- for details
module HsBinds where
diff --git
a/compiler/hsSyn/HsDecls.lhs
b/compiler/hsSyn/HsDecls.lhs
index
f1cde04
..
75e59c6
100644
(file)
--- a/
compiler/hsSyn/HsDecls.lhs
+++ b/
compiler/hsSyn/HsDecls.lhs
@@
-9,11
+9,11
@@
Definitions for: @TyDecl@ and @oCnDecl@, @ClassDecl@,
@InstDecl@, @DefaultDecl@ and @ForeignDecl@.
\begin{code}
@InstDecl@, @DefaultDecl@ and @ForeignDecl@.
\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
-- 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 HsDecls (
-- for details
module HsDecls (
diff --git
a/compiler/hsSyn/HsDoc.hs
b/compiler/hsSyn/HsDoc.hs
index
83fb3c4
..
57dcfbe
100644
(file)
--- a/
compiler/hsSyn/HsDoc.hs
+++ b/
compiler/hsSyn/HsDoc.hs
@@
-1,8
+1,8
@@
-{-# 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
-- 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 HsDoc (
-- for details
module HsDoc (
diff --git
a/compiler/hsSyn/HsExpr.lhs
b/compiler/hsSyn/HsExpr.lhs
index
4721939
..
2a4da41
100644
(file)
--- a/
compiler/hsSyn/HsExpr.lhs
+++ b/
compiler/hsSyn/HsExpr.lhs
@@
-6,11
+6,11
@@
HsExpr: Abstract Haskell syntax: expressions
\begin{code}
HsExpr: Abstract Haskell syntax: expressions
\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
-- 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 HsExpr where
-- for details
module HsExpr where
diff --git
a/compiler/hsSyn/HsImpExp.lhs
b/compiler/hsSyn/HsImpExp.lhs
index
ebd18ea
..
5cc2a64
100644
(file)
--- a/
compiler/hsSyn/HsImpExp.lhs
+++ b/
compiler/hsSyn/HsImpExp.lhs
@@
-6,11
+6,11
@@
HsImpExp: Abstract syntax: imports, exports, interfaces
\begin{code}
HsImpExp: Abstract syntax: imports, exports, interfaces
\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
-- 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 HsImpExp where
-- for details
module HsImpExp where
diff --git
a/compiler/hsSyn/HsLit.lhs
b/compiler/hsSyn/HsLit.lhs
index
9d90924
..
e9ca07b
100644
(file)
--- a/
compiler/hsSyn/HsLit.lhs
+++ b/
compiler/hsSyn/HsLit.lhs
@@
-5,11
+5,11
@@
\section[HsLit]{Abstract syntax: source-language literals}
\begin{code}
\section[HsLit]{Abstract syntax: source-language literals}
\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
-- 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 HsLit where
-- for details
module HsLit where
diff --git
a/compiler/hsSyn/HsPat.lhs
b/compiler/hsSyn/HsPat.lhs
index
10af93d
..
5572f62
100644
(file)
--- a/
compiler/hsSyn/HsPat.lhs
+++ b/
compiler/hsSyn/HsPat.lhs
@@
-5,11
+5,11
@@
\section[PatSyntax]{Abstract Haskell syntax---patterns}
\begin{code}
\section[PatSyntax]{Abstract Haskell syntax---patterns}
\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
-- 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 HsPat (
-- for details
module HsPat (
diff --git
a/compiler/hsSyn/HsSyn.lhs
b/compiler/hsSyn/HsSyn.lhs
index
e3ffea2
..
f7b05e7
100644
(file)
--- a/
compiler/hsSyn/HsSyn.lhs
+++ b/
compiler/hsSyn/HsSyn.lhs
@@
-9,11
+9,11
@@
which is declared in the various \tr{Hs*} modules. This module,
therefore, is almost nothing but re-exporting.
\begin{code}
therefore, is almost nothing but re-exporting.
\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
-- 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 HsSyn (
-- for details
module HsSyn (
diff --git
a/compiler/hsSyn/HsTypes.lhs
b/compiler/hsSyn/HsTypes.lhs
index
96f95c2
..
6f347fe
100644
(file)
--- a/
compiler/hsSyn/HsTypes.lhs
+++ b/
compiler/hsSyn/HsTypes.lhs
@@
-6,11
+6,11
@@
HsTypes: Abstract syntax: user-defined types
\begin{code}
HsTypes: Abstract syntax: user-defined types
\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
-- 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 HsTypes (
-- for details
module HsTypes (
diff --git
a/compiler/hsSyn/HsUtils.lhs
b/compiler/hsSyn/HsUtils.lhs
index
19fd902
..
0e75880
100644
(file)
--- a/
compiler/hsSyn/HsUtils.lhs
+++ b/
compiler/hsSyn/HsUtils.lhs
@@
-13,11
+13,11
@@
which deal with the intantiated versions are located elsewhere:
Id typecheck/TcHsSyn
\begin{code}
Id typecheck/TcHsSyn
\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
-- 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 HsUtils where
-- for details
module HsUtils where
diff --git
a/compiler/iface/BinIface.hs
b/compiler/iface/BinIface.hs
index
3443e6a
..
e891db4
100644
(file)
--- a/
compiler/iface/BinIface.hs
+++ b/
compiler/iface/BinIface.hs
@@
-3,11
+3,11
@@
--
-- Binary interface file support.
--
-- Binary interface file support.
-{-# 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
-- 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 BinIface ( writeBinIface, readBinIface, v_IgnoreHiWay ) where
-- for details
module BinIface ( writeBinIface, readBinIface, v_IgnoreHiWay ) where
diff --git
a/compiler/iface/BuildTyCl.lhs
b/compiler/iface/BuildTyCl.lhs
index
e951c63
..
242772f
100644
(file)
--- a/
compiler/iface/BuildTyCl.lhs
+++ b/
compiler/iface/BuildTyCl.lhs
@@
-4,11
+4,11
@@
%
\begin{code}
%
\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
-- 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 BuildTyCl (
-- for details
module BuildTyCl (
diff --git
a/compiler/iface/IfaceEnv.lhs
b/compiler/iface/IfaceEnv.lhs
index
bf8d09b
..
3176c6a
100644
(file)
--- a/
compiler/iface/IfaceEnv.lhs
+++ b/
compiler/iface/IfaceEnv.lhs
@@
-1,11
+1,11
@@
(c) The University of Glasgow 2002-2006
\begin{code}
(c) The University of Glasgow 2002-2006
\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
-- 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 IfaceEnv (
-- for details
module IfaceEnv (
diff --git
a/compiler/iface/IfaceSyn.lhs
b/compiler/iface/IfaceSyn.lhs
index
20cc5c6
..
e95eab0
100644
(file)
--- a/
compiler/iface/IfaceSyn.lhs
+++ b/
compiler/iface/IfaceSyn.lhs
@@
-4,11
+4,11
@@
%
\begin{code}
%
\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
-- 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 IfaceSyn (
-- for details
module IfaceSyn (
diff --git
a/compiler/iface/IfaceType.lhs
b/compiler/iface/IfaceType.lhs
index
7248ec6
..
4482d2b
100644
(file)
--- a/
compiler/iface/IfaceType.lhs
+++ b/
compiler/iface/IfaceType.lhs
@@
-6,11
+6,11
@@
This module defines interface types and binders
\begin{code}
This module defines interface types and binders
\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
-- 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 IfaceType (
-- for details
module IfaceType (
diff --git
a/compiler/iface/LoadIface.lhs
b/compiler/iface/LoadIface.lhs
index
ba27087
..
37c2e49
100644
(file)
--- a/
compiler/iface/LoadIface.lhs
+++ b/
compiler/iface/LoadIface.lhs
@@
-6,11
+6,11
@@
Loading interface files
\begin{code}
Loading interface files
\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
-- 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 LoadIface (
-- for details
module LoadIface (
diff --git
a/compiler/iface/MkIface.lhs
b/compiler/iface/MkIface.lhs
index
05e75c7
..
69d862f
100644
(file)
--- a/
compiler/iface/MkIface.lhs
+++ b/
compiler/iface/MkIface.lhs
@@
-4,11
+4,11
@@
%
\begin{code}
%
\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
-- 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 MkIface (
-- for details
module MkIface (
diff --git
a/compiler/iface/TcIface.lhs
b/compiler/iface/TcIface.lhs
index
a3b9877
..
c065530
100644
(file)
--- a/
compiler/iface/TcIface.lhs
+++ b/
compiler/iface/TcIface.lhs
@@
-6,11
+6,11
@@
Type checking of type signatures in interface files
\begin{code}
Type checking of type signatures in interface files
\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
-- 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 TcIface (
-- for details
module TcIface (
diff --git
a/compiler/ilxGen/IlxGen.lhs
b/compiler/ilxGen/IlxGen.lhs
index
a4c8c97
..
e98c452
100644
(file)
--- a/
compiler/ilxGen/IlxGen.lhs
+++ b/
compiler/ilxGen/IlxGen.lhs
@@
-2,11
+2,11
@@
\section{Generate .NET extended IL}
\begin{code}
\section{Generate .NET extended IL}
\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
-- 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 IlxGen( ilxGen ) where
-- for details
module IlxGen( ilxGen ) where
diff --git
a/compiler/javaGen/Java.lhs
b/compiler/javaGen/Java.lhs
index
9fdbe1a
..
9dcf4ee
100644
(file)
--- a/
compiler/javaGen/Java.lhs
+++ b/
compiler/javaGen/Java.lhs
@@
-10,11
+10,11
@@
for the backend of GHC and to target languauges like Java sucessfully.
-- Andy Gill
\begin{code}
-- Andy Gill
\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
-- 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 Java where
-- for details
module Java where
diff --git
a/compiler/javaGen/JavaGen.lhs
b/compiler/javaGen/JavaGen.lhs
index
285150a
..
2c8ec44
100644
(file)
--- a/
compiler/javaGen/JavaGen.lhs
+++ b/
compiler/javaGen/JavaGen.lhs
@@
-42,11
+42,11
@@
$i for instances.
$k for keyword nameclash avoidance.
\begin{code}
$k for keyword nameclash avoidance.
\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
-- 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 JavaGen( javaGen ) where
-- for details
module JavaGen( javaGen ) where
diff --git
a/compiler/javaGen/PrintJava.lhs
b/compiler/javaGen/PrintJava.lhs
index
4107e9c
..
967e73d
100644
(file)
--- a/
compiler/javaGen/PrintJava.lhs
+++ b/
compiler/javaGen/PrintJava.lhs
@@
-4,11
+4,11
@@
\section{Generate Java}
\begin{code}
\section{Generate Java}
\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
-- 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 PrintJava( compilationUnit ) where
-- for details
module PrintJava( compilationUnit ) where
diff --git
a/compiler/main/BreakArray.hs
b/compiler/main/BreakArray.hs
index
86b9da4
..
d258ae6
100644
(file)
--- a/
compiler/main/BreakArray.hs
+++ b/
compiler/main/BreakArray.hs
@@
-7,11
+7,11
@@
--
-----------------------------------------------------------------------------
--
-----------------------------------------------------------------------------
-{-# 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
-- 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 BreakArray
-- for details
module BreakArray
diff --git
a/compiler/main/CmdLineParser.hs
b/compiler/main/CmdLineParser.hs
index
d68e6f7
..
27a1409
100644
(file)
--- a/
compiler/main/CmdLineParser.hs
+++ b/
compiler/main/CmdLineParser.hs
@@
-9,11
+9,11
@@
--
-----------------------------------------------------------------------------
--
-----------------------------------------------------------------------------
-{-# 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
-- 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 CmdLineParser (
-- for details
module CmdLineParser (
diff --git
a/compiler/main/CodeOutput.lhs
b/compiler/main/CodeOutput.lhs
index
2c8a399
..
79305fc
100644
(file)
--- a/
compiler/main/CodeOutput.lhs
+++ b/
compiler/main/CodeOutput.lhs
@@
-4,11
+4,11
@@
\section{Code output phase}
\begin{code}
\section{Code output phase}
\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
-- 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 CodeOutput( codeOutput, outputForeignStubs ) where
-- for details
module CodeOutput( codeOutput, outputForeignStubs ) where
diff --git
a/compiler/main/Constants.lhs
b/compiler/main/Constants.lhs
index
fc47aad
..
d6f6bc1
100644
(file)
--- a/
compiler/main/Constants.lhs
+++ b/
compiler/main/Constants.lhs
@@
-4,11
+4,11
@@
\section[Constants]{Info about this compilation}
\begin{code}
\section[Constants]{Info about this compilation}
\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
-- 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 Constants (module Constants) where
-- for details
module Constants (module Constants) where
diff --git
a/compiler/main/DriverMkDepend.hs
b/compiler/main/DriverMkDepend.hs
index
085c9e6
..
4f0dfb0
100644
(file)
--- a/
compiler/main/DriverMkDepend.hs
+++ b/
compiler/main/DriverMkDepend.hs
@@
-6,11
+6,11
@@
--
-----------------------------------------------------------------------------
--
-----------------------------------------------------------------------------
-{-# 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
-- 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 DriverMkDepend (
-- for details
module DriverMkDepend (
diff --git
a/compiler/main/DriverPhases.hs
b/compiler/main/DriverPhases.hs
index
498b007
..
b684d0e
100644
(file)
--- a/
compiler/main/DriverPhases.hs
+++ b/
compiler/main/DriverPhases.hs
@@
-7,11
+7,11
@@
--
-----------------------------------------------------------------------------
--
-----------------------------------------------------------------------------
-{-# 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
-- 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 DriverPhases (
-- for details
module DriverPhases (
diff --git
a/compiler/main/DriverPipeline.hs
b/compiler/main/DriverPipeline.hs
index
29fddd0
..
5308ba2
100644
(file)
--- a/
compiler/main/DriverPipeline.hs
+++ b/
compiler/main/DriverPipeline.hs
@@
-6,11
+6,11
@@
--
-----------------------------------------------------------------------------
--
-----------------------------------------------------------------------------
-{-# 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
-- 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 DriverPipeline (
-- for details
module DriverPipeline (
diff --git
a/compiler/main/DynFlags.hs
b/compiler/main/DynFlags.hs
index
bee06f1
..
83990e3
100644
(file)
--- a/
compiler/main/DynFlags.hs
+++ b/
compiler/main/DynFlags.hs
@@
-13,11
+13,11
@@
--
-----------------------------------------------------------------------------
--
-----------------------------------------------------------------------------
-{-# 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
-- 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 DynFlags (
-- for details
module DynFlags (
diff --git
a/compiler/main/ErrUtils.lhs
b/compiler/main/ErrUtils.lhs
index
f89954d
..
cee03cc
100644
(file)
--- a/
compiler/main/ErrUtils.lhs
+++ b/
compiler/main/ErrUtils.lhs
@@
-4,11
+4,11
@@
\section[ErrsUtils]{Utilities for error reporting}
\begin{code}
\section[ErrsUtils]{Utilities for error reporting}
\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
-- 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 ErrUtils (
-- for details
module ErrUtils (
diff --git
a/compiler/main/Finder.lhs
b/compiler/main/Finder.lhs
index
62d6740
..
f9e3aa4
100644
(file)
--- a/
compiler/main/Finder.lhs
+++ b/
compiler/main/Finder.lhs
@@
-4,11
+4,11
@@
\section[Finder]{Module Finder}
\begin{code}
\section[Finder]{Module Finder}
\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
-- 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 Finder (
-- for details
module Finder (
diff --git
a/compiler/main/GHC.hs
b/compiler/main/GHC.hs
index
6b01520
..
254302f
100644
(file)
--- a/
compiler/main/GHC.hs
+++ b/
compiler/main/GHC.hs
@@
-6,11
+6,11
@@
--
-- -----------------------------------------------------------------------------
--
-- -----------------------------------------------------------------------------
-{-# 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
-- 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 GHC (
-- for details
module GHC (
diff --git
a/compiler/main/HeaderInfo.hs
b/compiler/main/HeaderInfo.hs
index
9099246
..
334da82
100644
(file)
--- a/
compiler/main/HeaderInfo.hs
+++ b/
compiler/main/HeaderInfo.hs
@@
-8,11
+8,11
@@
--
-----------------------------------------------------------------------------
--
-----------------------------------------------------------------------------
-{-# 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
-- 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 HeaderInfo ( getImportsFromFile, getImports
-- for details
module HeaderInfo ( getImportsFromFile, getImports
diff --git
a/compiler/main/HscMain.lhs
b/compiler/main/HscMain.lhs
index
c8f6f67
..
51d6d88
100644
(file)
--- a/
compiler/main/HscMain.lhs
+++ b/
compiler/main/HscMain.lhs
@@
-5,11
+5,11
@@
\section[GHC_Main]{Main driver for Glasgow Haskell compiler}
\begin{code}
\section[GHC_Main]{Main driver for Glasgow Haskell compiler}
\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
-- 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 HscMain
-- for details
module HscMain
diff --git
a/compiler/main/HscStats.lhs
b/compiler/main/HscStats.lhs
index
21d47eb
..
3e182e0
100644
(file)
--- a/
compiler/main/HscStats.lhs
+++ b/
compiler/main/HscStats.lhs
@@
-4,11
+4,11
@@
\section[GHC_Stats]{Statistics for per-module compilations}
\begin{code}
\section[GHC_Stats]{Statistics for per-module compilations}
\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
-- 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 HscStats ( ppSourceStats ) where
-- for details
module HscStats ( ppSourceStats ) where
diff --git
a/compiler/main/HscTypes.lhs
b/compiler/main/HscTypes.lhs
index
a11c931
..
66f936f
100644
(file)
--- a/
compiler/main/HscTypes.lhs
+++ b/
compiler/main/HscTypes.lhs
@@
-4,11
+4,11
@@
\section[HscTypes]{Types for the per-module compiler}
\begin{code}
\section[HscTypes]{Types for the per-module compiler}
\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
-- 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 HscTypes (
-- for details
module HscTypes (
diff --git
a/compiler/main/InteractiveEval.hs
b/compiler/main/InteractiveEval.hs
index
8579901
..
071e434
100644
(file)
--- a/
compiler/main/InteractiveEval.hs
+++ b/
compiler/main/InteractiveEval.hs
@@
-6,11
+6,11
@@
--
-- -----------------------------------------------------------------------------
--
-- -----------------------------------------------------------------------------
-{-# 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
-- 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 InteractiveEval (
-- for details
module InteractiveEval (
diff --git
a/compiler/main/Main.hs
b/compiler/main/Main.hs
index
d1efe65
..
4059f1e
100644
(file)
--- a/
compiler/main/Main.hs
+++ b/
compiler/main/Main.hs
@@
-7,11
+7,11
@@
--
-----------------------------------------------------------------------------
--
-----------------------------------------------------------------------------
-{-# 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
-- 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 Main (main) where
-- for details
module Main (main) where
diff --git
a/compiler/main/PackageConfig.hs
b/compiler/main/PackageConfig.hs
index
bb5e7fd
..
08ba31f
100644
(file)
--- a/
compiler/main/PackageConfig.hs
+++ b/
compiler/main/PackageConfig.hs
@@
-2,11
+2,11
@@
-- (c) The University of Glasgow, 2004
--
-- (c) The University of Glasgow, 2004
--
-{-# 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
-- 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 PackageConfig (
-- for details
module PackageConfig (
diff --git
a/compiler/main/Packages.lhs
b/compiler/main/Packages.lhs
index
80ab244
..
474c1b3
100644
(file)
--- a/
compiler/main/Packages.lhs
+++ b/
compiler/main/Packages.lhs
@@
-4,11
+4,11
@@
% Package manipulation
%
\begin{code}
% Package manipulation
%
\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
-- 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 Packages (
-- for details
module Packages (
diff --git
a/compiler/main/ParsePkgConf.y
b/compiler/main/ParsePkgConf.y
index
5472abc
..
eb3d97f
100644
(file)
--- a/
compiler/main/ParsePkgConf.y
+++ b/
compiler/main/ParsePkgConf.y
@@
-1,9
+1,9
@@
{
{
-{-# 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
-- 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 ParsePkgConf( loadPackageConfig ) where
-- for details
module ParsePkgConf( loadPackageConfig ) where
diff --git
a/compiler/main/PprTyThing.hs
b/compiler/main/PprTyThing.hs
index
8c6e696
..
7c50680
100644
(file)
--- a/
compiler/main/PprTyThing.hs
+++ b/
compiler/main/PprTyThing.hs
@@
-6,11
+6,11
@@
--
-----------------------------------------------------------------------------
--
-----------------------------------------------------------------------------
-{-# 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
-- 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 PprTyThing (
-- for details
module PprTyThing (
diff --git
a/compiler/main/StaticFlags.hs
b/compiler/main/StaticFlags.hs
index
f285b89
..
a843ef9
100644
(file)
--- a/
compiler/main/StaticFlags.hs
+++ b/
compiler/main/StaticFlags.hs
@@
-9,11
+9,11
@@
--
-----------------------------------------------------------------------------
--
-----------------------------------------------------------------------------
-{-# 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
-- 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 StaticFlags (
-- for details
module StaticFlags (
diff --git
a/compiler/main/SysTools.lhs
b/compiler/main/SysTools.lhs
index
a4222a7
..
7293168
100644
(file)
--- a/
compiler/main/SysTools.lhs
+++ b/
compiler/main/SysTools.lhs
@@
-7,11
+7,11
@@
-----------------------------------------------------------------------------
\begin{code}
-----------------------------------------------------------------------------
\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
-- 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 SysTools (
-- for details
module SysTools (
diff --git
a/compiler/main/TidyPgm.lhs
b/compiler/main/TidyPgm.lhs
index
dec5c6b
..
15435e9
100644
(file)
--- a/
compiler/main/TidyPgm.lhs
+++ b/
compiler/main/TidyPgm.lhs
@@
-4,11
+4,11
@@
\section{Tidying up Core}
\begin{code}
\section{Tidying up Core}
\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
-- 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 TidyPgm( mkBootModDetails, tidyProgram ) where
-- for details
module TidyPgm( mkBootModDetails, tidyProgram ) where
diff --git
a/compiler/nativeGen/AsmCodeGen.lhs
b/compiler/nativeGen/AsmCodeGen.lhs
index
7b49f7a
..
7dad11b
100644
(file)
--- a/
compiler/nativeGen/AsmCodeGen.lhs
+++ b/
compiler/nativeGen/AsmCodeGen.lhs
@@
-7,11
+7,11
@@
-- -----------------------------------------------------------------------------
\begin{code}
-- -----------------------------------------------------------------------------
\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
-- 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 AsmCodeGen ( nativeCodeGen ) where
-- for details
module AsmCodeGen ( nativeCodeGen ) where
diff --git
a/compiler/nativeGen/GraphBase.hs
b/compiler/nativeGen/GraphBase.hs
index
e3b80c4
..
a3feb38
100644
(file)
--- a/
compiler/nativeGen/GraphBase.hs
+++ b/
compiler/nativeGen/GraphBase.hs
@@
-1,10
+1,10
@@
-- | Types for the general graph colorer.
-- | Types for the general graph colorer.
-{-# 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
-- 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 GraphBase (
-- for details
module GraphBase (
diff --git
a/compiler/nativeGen/GraphColor.hs
b/compiler/nativeGen/GraphColor.hs
index
d343990
..
127d6b5
100644
(file)
--- a/
compiler/nativeGen/GraphColor.hs
+++ b/
compiler/nativeGen/GraphColor.hs
@@
-4,11
+4,11
@@
-- the node keys, nodes and colors.
--
-- the node keys, nodes and colors.
--
-{-# 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
-- 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 GraphColor (
-- for details
module GraphColor (
diff --git
a/compiler/nativeGen/GraphOps.hs
b/compiler/nativeGen/GraphOps.hs
index
c3068b8
..
96c8e4e
100644
(file)
--- a/
compiler/nativeGen/GraphOps.hs
+++ b/
compiler/nativeGen/GraphOps.hs
@@
-2,11
+2,11
@@
-- | Basic operations on graphs.
--
-- | Basic operations on graphs.
--
-{-# 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
-- 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 GraphOps (
-- for details
module GraphOps (
diff --git
a/compiler/nativeGen/GraphPpr.hs
b/compiler/nativeGen/GraphPpr.hs
index
29148fa
..
2221f85
100644
(file)
--- a/
compiler/nativeGen/GraphPpr.hs
+++ b/
compiler/nativeGen/GraphPpr.hs
@@
-1,11
+1,11
@@
-- | Pretty printing of graphs.
-- | Pretty printing of graphs.
-{-# 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
-- 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 GraphPpr (
-- for details
module GraphPpr (
diff --git
a/compiler/nativeGen/MachCodeGen.hs
b/compiler/nativeGen/MachCodeGen.hs
index
191bf27
..
ce24fc5
100644
(file)
--- a/
compiler/nativeGen/MachCodeGen.hs
+++ b/
compiler/nativeGen/MachCodeGen.hs
@@
-11,11
+11,11
@@
-- (c) the #if blah_TARGET_ARCH} things, the
-- structure should not be too overwhelming.
-- (c) the #if blah_TARGET_ARCH} things, the
-- structure should not be too overwhelming.
-{-# 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
-- 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 MachCodeGen ( cmmTopCodeGen, InstrBlock ) where
-- for details
module MachCodeGen ( cmmTopCodeGen, InstrBlock ) where
diff --git
a/compiler/nativeGen/MachInstrs.hs
b/compiler/nativeGen/MachInstrs.hs
index
8415442
..
09c2698
100644
(file)
--- a/
compiler/nativeGen/MachInstrs.hs
+++ b/
compiler/nativeGen/MachInstrs.hs
@@
-6,11
+6,11
@@
--
-----------------------------------------------------------------------------
--
-----------------------------------------------------------------------------
-{-# 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
-- 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
#include "nativeGen/NCG.h"
-- for details
#include "nativeGen/NCG.h"
diff --git
a/compiler/nativeGen/MachRegs.lhs
b/compiler/nativeGen/MachRegs.lhs
index
49dc21a
..
e32860d
100644
(file)
--- a/
compiler/nativeGen/MachRegs.lhs
+++ b/
compiler/nativeGen/MachRegs.lhs
@@
-13,11
+13,11
@@
-- -----------------------------------------------------------------------------
\begin{code}
-- -----------------------------------------------------------------------------
\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
-- 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
#include "nativeGen/NCG.h"
-- for details
#include "nativeGen/NCG.h"
diff --git
a/compiler/nativeGen/NCGMonad.hs
b/compiler/nativeGen/NCGMonad.hs
index
721b618
..
960d818
100644
(file)
--- a/
compiler/nativeGen/NCGMonad.hs
+++ b/
compiler/nativeGen/NCGMonad.hs
@@
-6,11
+6,11
@@
--
-- -----------------------------------------------------------------------------
--
-- -----------------------------------------------------------------------------
-{-# 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
-- 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 NCGMonad (
-- for details
module NCGMonad (
diff --git
a/compiler/nativeGen/PositionIndependentCode.hs
b/compiler/nativeGen/PositionIndependentCode.hs
index
cb94a86
..
1afe727
100644
(file)
--- a/
compiler/nativeGen/PositionIndependentCode.hs
+++ b/
compiler/nativeGen/PositionIndependentCode.hs
@@
-1,8
+1,8
@@
-{-# 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
-- 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 PositionIndependentCode (
-- for details
module PositionIndependentCode (
diff --git
a/compiler/nativeGen/PprMach.hs
b/compiler/nativeGen/PprMach.hs
index
a337512
..
a376989
100644
(file)
--- a/
compiler/nativeGen/PprMach.hs
+++ b/
compiler/nativeGen/PprMach.hs
@@
-10,11
+10,11
@@
-- (e.g., 'pprReg'); we conclude with the no-commonality monster,
-- 'pprInstr'.
-- (e.g., 'pprReg'); we conclude with the no-commonality monster,
-- 'pprInstr'.
-{-# 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
-- 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
#include "nativeGen/NCG.h"
-- for details
#include "nativeGen/NCG.h"
diff --git
a/compiler/nativeGen/RegAllocColor.hs
b/compiler/nativeGen/RegAllocColor.hs
index
5b19cc4
..
1968be4
100644
(file)
--- a/
compiler/nativeGen/RegAllocColor.hs
+++ b/
compiler/nativeGen/RegAllocColor.hs
@@
-13,11
+13,11
@@
-- Colors in graphviz graphs could be nicer.
--
-- Colors in graphviz graphs could be nicer.
--
-{-# 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
-- 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 RegAllocColor (
-- for details
module RegAllocColor (
diff --git
a/compiler/nativeGen/RegAllocInfo.hs
b/compiler/nativeGen/RegAllocInfo.hs
index
7fcaa24
..
5607a52
100644
(file)
--- a/
compiler/nativeGen/RegAllocInfo.hs
+++ b/
compiler/nativeGen/RegAllocInfo.hs
@@
-6,11
+6,11
@@
--
-----------------------------------------------------------------------------
--
-----------------------------------------------------------------------------
-{-# 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
-- 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
#include "nativeGen/NCG.h"
-- for details
#include "nativeGen/NCG.h"
diff --git
a/compiler/nativeGen/RegAllocLinear.hs
b/compiler/nativeGen/RegAllocLinear.hs
index
4a706b0
..
4d6b556
100644
(file)
--- a/
compiler/nativeGen/RegAllocLinear.hs
+++ b/
compiler/nativeGen/RegAllocLinear.hs
@@
-1,8
+1,8
@@
-{-# 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
-- 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
-----------------------------------------------------------------------------
-- for details
-----------------------------------------------------------------------------
diff --git
a/compiler/nativeGen/RegAllocStats.hs
b/compiler/nativeGen/RegAllocStats.hs
index
ed54532
..
ba95cc7
100644
(file)
--- a/
compiler/nativeGen/RegAllocStats.hs
+++ b/
compiler/nativeGen/RegAllocStats.hs
@@
-2,11
+2,11
@@
-- Carries interesting info for debugging / profiling of the
-- graph coloring register allocator.
-- Carries interesting info for debugging / profiling of the
-- graph coloring register allocator.
-{-# 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
-- 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 RegAllocStats (
-- for details
module RegAllocStats (
diff --git
a/compiler/nativeGen/RegArchBase.hs
b/compiler/nativeGen/RegArchBase.hs
index
eaa0488
..
ebf46e6
100644
(file)
--- a/
compiler/nativeGen/RegArchBase.hs
+++ b/
compiler/nativeGen/RegArchBase.hs
@@
-12,11
+12,11
@@
-- This code is here because we can test the architecture specific code against it.
--
-- This code is here because we can test the architecture specific code against it.
--
-{-# 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
-- 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 RegArchBase (
-- for details
module RegArchBase (
diff --git
a/compiler/nativeGen/RegArchX86.hs
b/compiler/nativeGen/RegArchX86.hs
index
ab5703b
..
bba1458
100644
(file)
--- a/
compiler/nativeGen/RegArchX86.hs
+++ b/
compiler/nativeGen/RegArchX86.hs
@@
-6,11
+6,11
@@
-- See MachRegs.hs for the actual trivColorable function used in GHC.
--
-- See MachRegs.hs for the actual trivColorable function used in GHC.
--
-{-# 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
-- 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 RegArchX86 (
-- for details
module RegArchX86 (
diff --git
a/compiler/nativeGen/RegCoalesce.hs
b/compiler/nativeGen/RegCoalesce.hs
index
56ffe4f
..
ec18e46
100644
(file)
--- a/
compiler/nativeGen/RegCoalesce.hs
+++ b/
compiler/nativeGen/RegCoalesce.hs
@@
-2,11
+2,11
@@
-- | Register coalescing.
--
-- | Register coalescing.
--
-{-# 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
-- 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 RegCoalesce (
-- for details
module RegCoalesce (
diff --git
a/compiler/nativeGen/RegLiveness.hs
b/compiler/nativeGen/RegLiveness.hs
index
81d993b
..
558de05
100644
(file)
--- a/
compiler/nativeGen/RegLiveness.hs
+++ b/
compiler/nativeGen/RegLiveness.hs
@@
-6,11
+6,11
@@
--
-----------------------------------------------------------------------------
--
-----------------------------------------------------------------------------
-{-# 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
-- 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 RegLiveness (
-- for details
module RegLiveness (
diff --git
a/compiler/nativeGen/RegSpill.hs
b/compiler/nativeGen/RegSpill.hs
index
d2cb0e3
..
9987522
100644
(file)
--- a/
compiler/nativeGen/RegSpill.hs
+++ b/
compiler/nativeGen/RegSpill.hs
@@
-1,9
+1,9
@@
-{-# 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
-- 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 RegSpill (
-- for details
module RegSpill (
diff --git
a/compiler/nativeGen/RegSpillClean.hs
b/compiler/nativeGen/RegSpillClean.hs
index
7b65671
..
7f382f1
100644
(file)
--- a/
compiler/nativeGen/RegSpillClean.hs
+++ b/
compiler/nativeGen/RegSpillClean.hs
@@
-23,11
+23,11
@@
-- spilling %r1 to a slot makes that slot have the same value as %r1.
--
-- spilling %r1 to a slot makes that slot have the same value as %r1.
--
-{-# 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
-- 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 RegSpillClean (
-- for details
module RegSpillClean (
diff --git
a/compiler/ndpFlatten/FlattenInfo.hs
b/compiler/ndpFlatten/FlattenInfo.hs
index
8d34349
..
a01f996
100644
(file)
--- a/
compiler/ndpFlatten/FlattenInfo.hs
+++ b/
compiler/ndpFlatten/FlattenInfo.hs
@@
-18,11
+18,11
@@
--- TODO ----------------------------------------------------------------------
--
--- TODO ----------------------------------------------------------------------
--
-{-# 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
-- 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 FlattenInfo (
-- for details
module FlattenInfo (
diff --git
a/compiler/ndpFlatten/FlattenMonad.hs
b/compiler/ndpFlatten/FlattenMonad.hs
index
fdb7ff5
..
d7c753a
100644
(file)
--- a/
compiler/ndpFlatten/FlattenMonad.hs
+++ b/
compiler/ndpFlatten/FlattenMonad.hs
@@
-40,11
+40,11
@@
-- * One FIXME left to resolve.
--
-- * One FIXME left to resolve.
--
-{-# 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
-- 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 FlattenMonad (
-- for details
module FlattenMonad (
diff --git
a/compiler/ndpFlatten/Flattening.hs
b/compiler/ndpFlatten/Flattening.hs
index
62ff246
..
5f883fd
100644
(file)
--- a/
compiler/ndpFlatten/Flattening.hs
+++ b/
compiler/ndpFlatten/Flattening.hs
@@
-1,8
+1,8
@@
-{-# 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
-- 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
-- $Id$
-- for details
-- $Id$
diff --git
a/compiler/ndpFlatten/NDPCoreUtils.hs
b/compiler/ndpFlatten/NDPCoreUtils.hs
index
aa6fa43
..
dc5c347
100644
(file)
--- a/
compiler/ndpFlatten/NDPCoreUtils.hs
+++ b/
compiler/ndpFlatten/NDPCoreUtils.hs
@@
-18,11
+18,11
@@
--- TODO ----------------------------------------------------------------------
--
--- TODO ----------------------------------------------------------------------
--
-{-# 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
-- 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 NDPCoreUtils (
-- for details
module NDPCoreUtils (
diff --git
a/compiler/ndpFlatten/PArrAnal.hs
b/compiler/ndpFlatten/PArrAnal.hs
index
f55a978
..
56cfabf
100644
(file)
--- a/
compiler/ndpFlatten/PArrAnal.hs
+++ b/
compiler/ndpFlatten/PArrAnal.hs
@@
-1,8
+1,8
@@
-{-# 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
-- 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
-- $Id$
-- for details
-- $Id$
diff --git
a/compiler/parser/Ctype.lhs
b/compiler/parser/Ctype.lhs
index
54acd5c
..
eeaa08c
100644
(file)
--- a/
compiler/parser/Ctype.lhs
+++ b/
compiler/parser/Ctype.lhs
@@
-1,11
+1,11
@@
Character classification
\begin{code}
Character classification
\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
-- 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 Ctype
-- for details
module Ctype
diff --git
a/compiler/parser/HaddockLex.x
b/compiler/parser/HaddockLex.x
index
f0bd8ea
..
8d561e1
100644
(file)
--- a/
compiler/parser/HaddockLex.x
+++ b/
compiler/parser/HaddockLex.x
@@
-7,11
+7,11
@@
--
{
--
{
-{-# 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
-- 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 HaddockLex (
-- for details
module HaddockLex (
diff --git
a/compiler/parser/HaddockParse.y
b/compiler/parser/HaddockParse.y
index
fd3f99d
..
56cf614
100644
(file)
--- a/
compiler/parser/HaddockParse.y
+++ b/
compiler/parser/HaddockParse.y
@@
-1,9
+1,9
@@
{
{
-{-# 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
-- 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 HaddockParse (parseHaddockParagraphs, parseHaddockString) where
-- for details
module HaddockParse (parseHaddockParagraphs, parseHaddockString) where
diff --git
a/compiler/parser/HaddockUtils.hs
b/compiler/parser/HaddockUtils.hs
index
a0c8386
..
879dd43
100644
(file)
--- a/
compiler/parser/HaddockUtils.hs
+++ b/
compiler/parser/HaddockUtils.hs
@@
-1,8
+1,8
@@
-{-# 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
-- 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 HaddockUtils where
-- for details
module HaddockUtils where
diff --git
a/compiler/parser/LexCore.hs
b/compiler/parser/LexCore.hs
index
4ac89c6
..
99ec88e
100644
(file)
--- a/
compiler/parser/LexCore.hs
+++ b/
compiler/parser/LexCore.hs
@@
-1,8
+1,8
@@
-{-# 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
-- 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 LexCore where
-- for details
module LexCore where
diff --git
a/compiler/parser/Lexer.x
b/compiler/parser/Lexer.x
index
279f001
..
ebb12f5
100644
(file)
--- a/
compiler/parser/Lexer.x
+++ b/
compiler/parser/Lexer.x
@@
-21,11
+21,11
@@
-- - pragma-end should be only valid in a pragma
{
-- - pragma-end should be only valid in a pragma
{
-{-# 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
-- 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 Lexer (
-- for details
module Lexer (
diff --git
a/compiler/parser/Parser.y.pp
b/compiler/parser/Parser.y.pp
index
16ed88d
..
98ca052
100644
(file)
--- a/
compiler/parser/Parser.y.pp
+++ b/
compiler/parser/Parser.y.pp
@@
-8,11
+8,11
@@
-- ---------------------------------------------------------------------------
{
-- ---------------------------------------------------------------------------
{
-{-# 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
-- 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 Parser ( parseModule, parseStmt, parseIdentifier, parseType,
-- for details
module Parser ( parseModule, parseStmt, parseIdentifier, parseType,
diff --git
a/compiler/parser/ParserCore.y
b/compiler/parser/ParserCore.y
index
19ca3ec
..
735310c
100644
(file)
--- a/
compiler/parser/ParserCore.y
+++ b/
compiler/parser/ParserCore.y
@@
-1,9
+1,9
@@
{
{
-{-# 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
-- 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 ParserCore ( parseCore ) where
-- for details
module ParserCore ( parseCore ) where
diff --git
a/compiler/parser/ParserCoreUtils.hs
b/compiler/parser/ParserCoreUtils.hs
index
589c662
..
e32038b
100644
(file)
--- a/
compiler/parser/ParserCoreUtils.hs
+++ b/
compiler/parser/ParserCoreUtils.hs
@@
-1,8
+1,8
@@
-{-# 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
-- 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 ParserCoreUtils where
-- for details
module ParserCoreUtils where
diff --git
a/compiler/parser/RdrHsSyn.lhs
b/compiler/parser/RdrHsSyn.lhs
index
f03a50e
..
0b0a460
100644
(file)
--- a/
compiler/parser/RdrHsSyn.lhs
+++ b/
compiler/parser/RdrHsSyn.lhs
@@
-4,11
+4,11
@@
Functions over HsSyn specialised to RdrName.
\begin{code}
Functions over HsSyn specialised to RdrName.
\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
-- 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 RdrHsSyn (
-- for details
module RdrHsSyn (
diff --git
a/compiler/prelude/ForeignCall.lhs
b/compiler/prelude/ForeignCall.lhs
index
15c48a9
..
cec415b
100644
(file)
--- a/
compiler/prelude/ForeignCall.lhs
+++ b/
compiler/prelude/ForeignCall.lhs
@@
-4,11
+4,11
@@
\section[Foreign]{Foreign calls}
\begin{code}
\section[Foreign]{Foreign calls}
\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
-- 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 ForeignCall (
-- for details
module ForeignCall (
diff --git
a/compiler/prelude/PrelInfo.lhs
b/compiler/prelude/PrelInfo.lhs
index
1dcf2b8
..
3fa99f1
100644
(file)
--- a/
compiler/prelude/PrelInfo.lhs
+++ b/
compiler/prelude/PrelInfo.lhs
@@
-4,11
+4,11
@@
\section[PrelInfo]{The @PrelInfo@ interface to the compiler's prelude knowledge}
\begin{code}
\section[PrelInfo]{The @PrelInfo@ interface to the compiler's prelude knowledge}
\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
-- 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 PrelInfo (
-- for details
module PrelInfo (
diff --git
a/compiler/prelude/PrelNames.lhs
b/compiler/prelude/PrelNames.lhs
index
84d09d1
..
3b9d71a
100644
(file)
--- a/
compiler/prelude/PrelNames.lhs
+++ b/
compiler/prelude/PrelNames.lhs
@@
-36,11
+36,11
@@
Nota Bene: all Names defined in here should come from the base package
\begin{code}
\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
-- 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 PrelNames (
-- for details
module PrelNames (
diff --git
a/compiler/prelude/PrelRules.lhs
b/compiler/prelude/PrelRules.lhs
index
864c995
..
cb77b63
100644
(file)
--- a/
compiler/prelude/PrelRules.lhs
+++ b/
compiler/prelude/PrelRules.lhs
@@
-15,11
+15,11
@@
ToDo:
{-# OPTIONS -optc-DNON_POSIX_SOURCE #-}
{-# OPTIONS -optc-DNON_POSIX_SOURCE #-}
-{-# 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
-- 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 PrelRules ( primOpRules, builtinRules ) where
-- for details
module PrelRules ( primOpRules, builtinRules ) where
diff --git
a/compiler/prelude/PrimOp.lhs
b/compiler/prelude/PrimOp.lhs
index
136dace
..
6ac5caf
100644
(file)
--- a/
compiler/prelude/PrimOp.lhs
+++ b/
compiler/prelude/PrimOp.lhs
@@
-4,11
+4,11
@@
\section[PrimOp]{Primitive operations (machine-level)}
\begin{code}
\section[PrimOp]{Primitive operations (machine-level)}
\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
-- 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 PrimOp (
-- for details
module PrimOp (
diff --git
a/compiler/prelude/TysPrim.lhs
b/compiler/prelude/TysPrim.lhs
index
dfdb2a5
..
50cbabc
100644
(file)
--- a/
compiler/prelude/TysPrim.lhs
+++ b/
compiler/prelude/TysPrim.lhs
@@
-4,11
+4,11
@@
\section[TysPrim]{Wired-in knowledge about primitive types}
\begin{code}
\section[TysPrim]{Wired-in knowledge about primitive types}
\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
-- 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 TysPrim(
-- for details
module TysPrim(
diff --git
a/compiler/prelude/TysWiredIn.lhs
b/compiler/prelude/TysWiredIn.lhs
index
812a00c
..
4ac9b88
100644
(file)
--- a/
compiler/prelude/TysWiredIn.lhs
+++ b/
compiler/prelude/TysWiredIn.lhs
@@
-10,11
+10,11
@@
This module tracks the ``state interface'' document, ``GHC prelude:
types and operations.''
\begin{code}
types and operations.''
\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
-- 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 TysWiredIn (
-- for details
module TysWiredIn (
diff --git
a/compiler/profiling/CostCentre.lhs
b/compiler/profiling/CostCentre.lhs
index
38c5a82
..
c1ef7e7
100644
(file)
--- a/
compiler/profiling/CostCentre.lhs
+++ b/
compiler/profiling/CostCentre.lhs
@@
-4,11
+4,11
@@
\section[CostCentre]{The @CostCentre@ data type}
\begin{code}
\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
-- 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 (
-- for details
module CostCentre (
diff --git
a/compiler/profiling/SCCfinal.lhs
b/compiler/profiling/SCCfinal.lhs
index
e24eee1
..
1c084fe
100644
(file)
--- 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}
* "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
-- 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
-- for details
module SCCfinal ( stgMassageForProfiling ) where
diff --git
a/compiler/rename/RnBinds.lhs
b/compiler/rename/RnBinds.lhs
index
db0e9a3
..
0d725b7
100644
(file)
--- a/
compiler/rename/RnBinds.lhs
+++ b/
compiler/rename/RnBinds.lhs
@@
-9,11
+9,11
@@
type-synonym declarations; those cannot be done at this stage because
they may be affected by renaming (which isn't fully worked out yet).
\begin{code}
they may be affected by renaming (which isn't fully worked out yet).
\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
-- 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 RnBinds (
-- for details
module RnBinds (
diff --git
a/compiler/rename/RnEnv.lhs
b/compiler/rename/RnEnv.lhs
index
d05f5b8
..
9a61ecc
100644
(file)
--- a/
compiler/rename/RnEnv.lhs
+++ b/
compiler/rename/RnEnv.lhs
@@
-4,11
+4,11
@@
\section[RnEnv]{Environment manipulation for the renamer monad}
\begin{code}
\section[RnEnv]{Environment manipulation for the renamer monad}
\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
-- 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 RnEnv (
-- for details
module RnEnv (
diff --git
a/compiler/rename/RnExpr.lhs
b/compiler/rename/RnExpr.lhs
index
bccd2e2
..
4014bbf
100644
(file)
--- a/
compiler/rename/RnExpr.lhs
+++ b/
compiler/rename/RnExpr.lhs
@@
-10,11
+10,11
@@
general, all of these functions return a renamed thing, and a set of
free variables.
\begin{code}
free variables.
\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
-- 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 RnExpr (
-- for details
module RnExpr (
diff --git
a/compiler/rename/RnHsDoc.hs
b/compiler/rename/RnHsDoc.hs
index
e754a74
..
16b9bd3
100644
(file)
--- a/
compiler/rename/RnHsDoc.hs
+++ b/
compiler/rename/RnHsDoc.hs
@@
-1,8
+1,8
@@
-{-# 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
-- 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 RnHsDoc ( rnHaddock, rnHsDoc, rnLHsDoc, rnMbLHsDoc ) where
-- for details
module RnHsDoc ( rnHaddock, rnHsDoc, rnLHsDoc, rnMbLHsDoc ) where
diff --git
a/compiler/rename/RnHsSyn.lhs
b/compiler/rename/RnHsSyn.lhs
index
6e83910
..
01fab13
100644
(file)
--- a/
compiler/rename/RnHsSyn.lhs
+++ b/
compiler/rename/RnHsSyn.lhs
@@
-4,11
+4,11
@@
\section[RnHsSyn]{Specialisations of the @HsSyn@ syntax for the renamer}
\begin{code}
\section[RnHsSyn]{Specialisations of the @HsSyn@ syntax for the renamer}
\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
-- 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 RnHsSyn(
-- for details
module RnHsSyn(
diff --git
a/compiler/rename/RnNames.lhs
b/compiler/rename/RnNames.lhs
index
6b513e0
..
3048efd
100644
(file)
--- a/
compiler/rename/RnNames.lhs
+++ b/
compiler/rename/RnNames.lhs
@@
-4,11
+4,11
@@
\section[RnNames]{Extracting imported and top-level names in scope}
\begin{code}
\section[RnNames]{Extracting imported and top-level names in scope}
\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
-- 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 RnNames (
-- for details
module RnNames (
diff --git
a/compiler/rename/RnSource.lhs
b/compiler/rename/RnSource.lhs
index
7064331
..
b031dd4
100644
(file)
--- a/
compiler/rename/RnSource.lhs
+++ b/
compiler/rename/RnSource.lhs
@@
-4,11
+4,11
@@
\section[RnSource]{Main pass of renamer}
\begin{code}
\section[RnSource]{Main pass of renamer}
\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
-- 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 RnSource (
-- for details
module RnSource (
diff --git
a/compiler/rename/RnTypes.lhs
b/compiler/rename/RnTypes.lhs
index
242e8ec
..
585f720
100644
(file)
--- a/
compiler/rename/RnTypes.lhs
+++ b/
compiler/rename/RnTypes.lhs
@@
-4,11
+4,11
@@
\section[RnSource]{Main pass of renamer}
\begin{code}
\section[RnSource]{Main pass of renamer}
\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
-- 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 RnTypes (
-- for details
module RnTypes (
diff --git
a/compiler/simplCore/CSE.lhs
b/compiler/simplCore/CSE.lhs
index
5b29d8a
..
e46c8e7
100644
(file)
--- a/
compiler/simplCore/CSE.lhs
+++ b/
compiler/simplCore/CSE.lhs
@@
-4,11
+4,11
@@
\section{Common subexpression}
\begin{code}
\section{Common subexpression}
\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
-- 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 CSE (
-- for details
module CSE (
diff --git
a/compiler/simplCore/FloatIn.lhs
b/compiler/simplCore/FloatIn.lhs
index
4c39336
..
8376af9
100644
(file)
--- a/
compiler/simplCore/FloatIn.lhs
+++ b/
compiler/simplCore/FloatIn.lhs
@@
-12,11
+12,11
@@
case, so that we don't allocate things, save them on the stack, and
then discover that they aren't needed in the chosen branch.
\begin{code}
then discover that they aren't needed in the chosen branch.
\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
-- 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 FloatIn ( floatInwards ) where
-- for details
module FloatIn ( floatInwards ) where
diff --git
a/compiler/simplCore/FloatOut.lhs
b/compiler/simplCore/FloatOut.lhs
index
deefe90
..
da59e91
100644
(file)
--- a/
compiler/simplCore/FloatOut.lhs
+++ b/
compiler/simplCore/FloatOut.lhs
@@
-6,11
+6,11
@@
``Long-distance'' floating of bindings towards the top level.
\begin{code}
``Long-distance'' floating of bindings towards the top level.
\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
-- 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 FloatOut ( floatOutwards ) where
-- for details
module FloatOut ( floatOutwards ) where
diff --git
a/compiler/simplCore/LiberateCase.lhs
b/compiler/simplCore/LiberateCase.lhs
index
8eab111
..
cca2139
100644
(file)
--- a/
compiler/simplCore/LiberateCase.lhs
+++ b/
compiler/simplCore/LiberateCase.lhs
@@
-4,11
+4,11
@@
\section[LiberateCase]{Unroll recursion to allow evals to be lifted from a loop}
\begin{code}
\section[LiberateCase]{Unroll recursion to allow evals to be lifted from a loop}
\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
-- 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 LiberateCase ( liberateCase ) where
-- for details
module LiberateCase ( liberateCase ) where
diff --git
a/compiler/simplCore/OccurAnal.lhs
b/compiler/simplCore/OccurAnal.lhs
index
4dd4604
..
77c5861
100644
(file)
--- a/
compiler/simplCore/OccurAnal.lhs
+++ b/
compiler/simplCore/OccurAnal.lhs
@@
-11,11
+11,11
@@
The occurrence analyser re-typechecks a core expression, returning a new
core expression with (hopefully) improved usage information.
\begin{code}
core expression with (hopefully) improved usage information.
\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
-- 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 OccurAnal (
-- for details
module OccurAnal (
diff --git
a/compiler/simplCore/SAT.lhs
b/compiler/simplCore/SAT.lhs
index
3a79b06
..
6e80295
100644
(file)
--- a/
compiler/simplCore/SAT.lhs
+++ b/
compiler/simplCore/SAT.lhs
@@
-38,11
+38,11
@@
Experimental Evidence: Heap: +/- 7%
Instrs: Always improves for 2 or more Static Args.
\begin{code}
Instrs: Always improves for 2 or more Static Args.
\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
-- 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 SAT ( doStaticArgs ) where
-- for details
module SAT ( doStaticArgs ) where
diff --git
a/compiler/simplCore/SATMonad.lhs
b/compiler/simplCore/SATMonad.lhs
index
2f12669
..
f781d87
100644
(file)
--- a/
compiler/simplCore/SATMonad.lhs
+++ b/
compiler/simplCore/SATMonad.lhs
@@
-10,11
+10,11
@@
96/03: We aren't using the static-argument transformation right now.
\begin{code}
96/03: We aren't using the static-argument transformation right now.
\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
-- 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 SATMonad where
-- for details
module SATMonad where
diff --git
a/compiler/simplCore/SetLevels.lhs
b/compiler/simplCore/SetLevels.lhs
index
14c7586
..
599c509
100644
(file)
--- a/
compiler/simplCore/SetLevels.lhs
+++ b/
compiler/simplCore/SetLevels.lhs
@@
-42,11
+42,11
@@
the scrutinee of the case, and we can inline it.
\begin{code}
the scrutinee of the case, and we can inline it.
\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
-- 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 SetLevels (
-- for details
module SetLevels (
diff --git
a/compiler/simplCore/SimplCore.lhs
b/compiler/simplCore/SimplCore.lhs
index
ded393f
..
f2fa705
100644
(file)
--- a/
compiler/simplCore/SimplCore.lhs
+++ b/
compiler/simplCore/SimplCore.lhs
@@
-4,11
+4,11
@@
\section[SimplCore]{Driver for simplifying @Core@ programs}
\begin{code}
\section[SimplCore]{Driver for simplifying @Core@ programs}
\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
-- 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 SimplCore ( core2core, simplifyExpr ) where
-- for details
module SimplCore ( core2core, simplifyExpr ) where
diff --git
a/compiler/simplCore/SimplEnv.lhs
b/compiler/simplCore/SimplEnv.lhs
index
23e6535
..
649dd1b
100644
(file)
--- a/
compiler/simplCore/SimplEnv.lhs
+++ b/
compiler/simplCore/SimplEnv.lhs
@@
-4,11
+4,11
@@
\section[SimplMonad]{The simplifier Monad}
\begin{code}
\section[SimplMonad]{The simplifier Monad}
\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
-- 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 SimplEnv (
-- for details
module SimplEnv (
diff --git
a/compiler/simplCore/SimplMonad.lhs
b/compiler/simplCore/SimplMonad.lhs
index
75150cd
..
fd53c7d
100644
(file)
--- a/
compiler/simplCore/SimplMonad.lhs
+++ b/
compiler/simplCore/SimplMonad.lhs
@@
-4,11
+4,11
@@
\section[SimplMonad]{The simplifier Monad}
\begin{code}
\section[SimplMonad]{The simplifier Monad}
\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
-- 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 SimplMonad (
-- for details
module SimplMonad (
diff --git
a/compiler/simplCore/SimplUtils.lhs
b/compiler/simplCore/SimplUtils.lhs
index
34f6626
..
160fb3e
100644
(file)
--- a/
compiler/simplCore/SimplUtils.lhs
+++ b/
compiler/simplCore/SimplUtils.lhs
@@
-4,11
+4,11
@@
\section[SimplUtils]{The simplifier utilities}
\begin{code}
\section[SimplUtils]{The simplifier utilities}
\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
-- 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 SimplUtils (
-- for details
module SimplUtils (
diff --git
a/compiler/simplCore/Simplify.lhs
b/compiler/simplCore/Simplify.lhs
index
79b305d
..
97ad75c
100644
(file)
--- a/
compiler/simplCore/Simplify.lhs
+++ b/
compiler/simplCore/Simplify.lhs
@@
-4,11
+4,11
@@
\section[Simplify]{The main module of the simplifier}
\begin{code}
\section[Simplify]{The main module of the simplifier}
\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
-- 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 Simplify ( simplTopBinds, simplExpr ) where
-- for details
module Simplify ( simplTopBinds, simplExpr ) where
diff --git
a/compiler/simplStg/SRT.lhs
b/compiler/simplStg/SRT.lhs
index
fed0a64
..
3fba6e5
100644
(file)
--- a/
compiler/simplStg/SRT.lhs
+++ b/
compiler/simplStg/SRT.lhs
@@
-7,11
+7,11
@@
each let-binding. At the same time, we figure out which top-level
bindings have no CAF references, and record the fact in their IdInfo.
\begin{code}
bindings have no CAF references, and record the fact in their IdInfo.
\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
-- 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 SRT( computeSRTs ) where
-- for details
module SRT( computeSRTs ) where
diff --git
a/compiler/simplStg/SimplStg.lhs
b/compiler/simplStg/SimplStg.lhs
index
072737a
..
b4ea822
100644
(file)
--- a/
compiler/simplStg/SimplStg.lhs
+++ b/
compiler/simplStg/SimplStg.lhs
@@
-4,11
+4,11
@@
\section[SimplStg]{Driver for simplifying @STG@ programs}
\begin{code}
\section[SimplStg]{Driver for simplifying @STG@ programs}
\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
-- 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 SimplStg ( stg2stg ) where
-- for details
module SimplStg ( stg2stg ) where
diff --git
a/compiler/simplStg/StgStats.lhs
b/compiler/simplStg/StgStats.lhs
index
307cd24
..
57fea0e
100644
(file)
--- a/
compiler/simplStg/StgStats.lhs
+++ b/
compiler/simplStg/StgStats.lhs
@@
-21,11
+21,11
@@
The program gather statistics about
\end{enumerate}
\begin{code}
\end{enumerate}
\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
-- 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 StgStats ( showStgStats ) where
-- for details
module StgStats ( showStgStats ) where
diff --git
a/compiler/specialise/Rules.lhs
b/compiler/specialise/Rules.lhs
index
fbdf925
..
18dfdce
100644
(file)
--- a/
compiler/specialise/Rules.lhs
+++ b/
compiler/specialise/Rules.lhs
@@
-4,11
+4,11
@@
\section[CoreRules]{Transformation rules}
\begin{code}
\section[CoreRules]{Transformation rules}
\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
-- 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 Rules (
-- for details
module Rules (
diff --git
a/compiler/specialise/SpecConstr.lhs
b/compiler/specialise/SpecConstr.lhs
index
c7cfad4
..
621d02e
100644
(file)
--- a/
compiler/specialise/SpecConstr.lhs
+++ b/
compiler/specialise/SpecConstr.lhs
@@
-4,11
+4,11
@@
\section[SpecConstr]{Specialise over constructors}
\begin{code}
\section[SpecConstr]{Specialise over constructors}
\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
-- 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 SpecConstr(
-- for details
module SpecConstr(
diff --git
a/compiler/specialise/Specialise.lhs
b/compiler/specialise/Specialise.lhs
index
bb47a97
..
b3bd6a2
100644
(file)
--- a/
compiler/specialise/Specialise.lhs
+++ b/
compiler/specialise/Specialise.lhs
@@
-4,11
+4,11
@@
\section[Specialise]{Stamping out overloading, and (optionally) polymorphism}
\begin{code}
\section[Specialise]{Stamping out overloading, and (optionally) polymorphism}
\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
-- 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 Specialise ( specProgram ) where
-- for details
module Specialise ( specProgram ) where
diff --git
a/compiler/stgSyn/CoreToStg.lhs
b/compiler/stgSyn/CoreToStg.lhs
index
2e958d9
..
94b0dd3
100644
(file)
--- a/
compiler/stgSyn/CoreToStg.lhs
+++ b/
compiler/stgSyn/CoreToStg.lhs
@@
-7,11
+7,11
@@
And, as we have the info in hand, we may convert some lets to
let-no-escapes.
\begin{code}
let-no-escapes.
\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
-- 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 CoreToStg ( coreToStg, coreExprToStg ) where
-- for details
module CoreToStg ( coreToStg, coreExprToStg ) where
diff --git
a/compiler/stgSyn/StgLint.lhs
b/compiler/stgSyn/StgLint.lhs
index
07965a4
..
f6a732a
100644
(file)
--- a/
compiler/stgSyn/StgLint.lhs
+++ b/
compiler/stgSyn/StgLint.lhs
@@
-4,11
+4,11
@@
\section[StgLint]{A ``lint'' pass to check for Stg correctness}
\begin{code}
\section[StgLint]{A ``lint'' pass to check for Stg correctness}
\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
-- 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 StgLint ( lintStgBindings ) where
-- for details
module StgLint ( lintStgBindings ) where
diff --git
a/compiler/stgSyn/StgSyn.lhs
b/compiler/stgSyn/StgSyn.lhs
index
4134279
..
cf9487c
100644
(file)
--- a/
compiler/stgSyn/StgSyn.lhs
+++ b/
compiler/stgSyn/StgSyn.lhs
@@
-9,11
+9,11
@@
form of @CoreSyntax@, the style being one that happens to be ideally
suited to spineless tagless code generation.
\begin{code}
suited to spineless tagless code generation.
\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
-- 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 StgSyn (
-- for details
module StgSyn (
diff --git
a/compiler/stranal/DmdAnal.lhs
b/compiler/stranal/DmdAnal.lhs
index
074ec37
..
ce5411d
100644
(file)
--- a/
compiler/stranal/DmdAnal.lhs
+++ b/
compiler/stranal/DmdAnal.lhs
@@
-7,11
+7,11
@@
-----------------
\begin{code}
-----------------
\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
-- 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 DmdAnal ( dmdAnalPgm, dmdAnalTopRhs,
-- for details
module DmdAnal ( dmdAnalPgm, dmdAnalTopRhs,
diff --git
a/compiler/stranal/SaAbsInt.lhs
b/compiler/stranal/SaAbsInt.lhs
index
ecf5c84
..
3be7102
100644
(file)
--- a/
compiler/stranal/SaAbsInt.lhs
+++ b/
compiler/stranal/SaAbsInt.lhs
@@
-4,11
+4,11
@@
\section[SaAbsInt]{Abstract interpreter for strictness analysis}
\begin{code}
\section[SaAbsInt]{Abstract interpreter for strictness analysis}
\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
-- 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
#ifndef OLD_STRICTNESS
-- for details
#ifndef OLD_STRICTNESS
diff --git
a/compiler/stranal/SaLib.lhs
b/compiler/stranal/SaLib.lhs
index
aebd8c0
..
1895321
100644
(file)
--- a/
compiler/stranal/SaLib.lhs
+++ b/
compiler/stranal/SaLib.lhs
@@
-6,11
+6,11
@@
See also: the ``library'' for the ``back end'' (@SaBackLib@).
\begin{code}
See also: the ``library'' for the ``back end'' (@SaBackLib@).
\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
-- 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
#ifndef OLD_STRICTNESS
-- for details
#ifndef OLD_STRICTNESS
diff --git
a/compiler/stranal/StrictAnal.lhs
b/compiler/stranal/StrictAnal.lhs
index
e3ae94f
..
9e26012
100644
(file)
--- a/
compiler/stranal/StrictAnal.lhs
+++ b/
compiler/stranal/StrictAnal.lhs
@@
-7,11
+7,11
@@
The original version(s) of all strictness-analyser code (except the
Semantique analyser) was written by Andy Gill.
\begin{code}
Semantique analyser) was written by Andy Gill.
\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
-- 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
#ifndef OLD_STRICTNESS
-- for details
#ifndef OLD_STRICTNESS
diff --git
a/compiler/stranal/WorkWrap.lhs
b/compiler/stranal/WorkWrap.lhs
index
4dd1be7
..
122750d
100644
(file)
--- a/
compiler/stranal/WorkWrap.lhs
+++ b/
compiler/stranal/WorkWrap.lhs
@@
-4,11
+4,11
@@
\section[WorkWrap]{Worker/wrapper-generating back-end of strictness analyser}
\begin{code}
\section[WorkWrap]{Worker/wrapper-generating back-end of strictness analyser}
\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
-- 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 WorkWrap ( wwTopBinds, mkWrapper ) where
-- for details
module WorkWrap ( wwTopBinds, mkWrapper ) where
diff --git
a/compiler/stranal/WwLib.lhs
b/compiler/stranal/WwLib.lhs
index
7b88ab2
..
d17e19a
100644
(file)
--- a/
compiler/stranal/WwLib.lhs
+++ b/
compiler/stranal/WwLib.lhs
@@
-4,11
+4,11
@@
\section[WwLib]{A library for the ``worker/wrapper'' back-end to the strictness analyser}
\begin{code}
\section[WwLib]{A library for the ``worker/wrapper'' back-end to the strictness analyser}
\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
-- 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 WwLib ( mkWwBodies, mkWWstr, mkWorkerArgs ) where
-- for details
module WwLib ( mkWwBodies, mkWWstr, mkWorkerArgs ) where
diff --git
a/compiler/typecheck/FamInst.lhs
b/compiler/typecheck/FamInst.lhs
index
d789c88
..
46df395
100644
(file)
--- a/
compiler/typecheck/FamInst.lhs
+++ b/
compiler/typecheck/FamInst.lhs
@@
-1,11
+1,11
@@
The @FamInst@ type: family instance heads
\begin{code}
The @FamInst@ type: family instance heads
\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
-- 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 FamInst (
-- for details
module FamInst (
diff --git
a/compiler/typecheck/Inst.lhs
b/compiler/typecheck/Inst.lhs
index
279ddec
..
8934657
100644
(file)
--- a/
compiler/typecheck/Inst.lhs
+++ b/
compiler/typecheck/Inst.lhs
@@
-6,11
+6,11
@@
The @Inst@ type: dictionaries or method instances
\begin{code}
The @Inst@ type: dictionaries or method instances
\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
-- 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 Inst (
-- for details
module Inst (
diff --git
a/compiler/typecheck/TcArrows.lhs
b/compiler/typecheck/TcArrows.lhs
index
b14726b
..
efd01c9
100644
(file)
--- a/
compiler/typecheck/TcArrows.lhs
+++ b/
compiler/typecheck/TcArrows.lhs
@@
-5,11
+5,11
@@
Typecheck arrow notation
\begin{code}
Typecheck arrow notation
\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
-- 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 TcArrows ( tcProc ) where
-- for details
module TcArrows ( tcProc ) where
diff --git
a/compiler/typecheck/TcBinds.lhs
b/compiler/typecheck/TcBinds.lhs
index
bf9d922
..
a18c9ac
100644
(file)
--- a/
compiler/typecheck/TcBinds.lhs
+++ b/
compiler/typecheck/TcBinds.lhs
@@
-5,11
+5,11
@@
\section[TcBinds]{TcBinds}
\begin{code}
\section[TcBinds]{TcBinds}
\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
-- 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 TcBinds ( tcLocalBinds, tcTopBinds,
-- for details
module TcBinds ( tcLocalBinds, tcTopBinds,
diff --git
a/compiler/typecheck/TcClassDcl.lhs
b/compiler/typecheck/TcClassDcl.lhs
index
7f66273
..
217d409
100644
(file)
--- a/
compiler/typecheck/TcClassDcl.lhs
+++ b/
compiler/typecheck/TcClassDcl.lhs
@@
-6,11
+6,11
@@
Typechecking class declarations
\begin{code}
Typechecking class declarations
\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
-- 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 TcClassDcl ( tcClassSigs, tcClassDecl2,
-- for details
module TcClassDcl ( tcClassSigs, tcClassDecl2,
diff --git
a/compiler/typecheck/TcDefaults.lhs
b/compiler/typecheck/TcDefaults.lhs
index
01d7fb2
..
c8edc8c
100644
(file)
--- a/
compiler/typecheck/TcDefaults.lhs
+++ b/
compiler/typecheck/TcDefaults.lhs
@@
-5,11
+5,11
@@
\section[TcDefaults]{Typechecking \tr{default} declarations}
\begin{code}
\section[TcDefaults]{Typechecking \tr{default} declarations}
\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
-- 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 TcDefaults ( tcDefaults ) where
-- for details
module TcDefaults ( tcDefaults ) where
diff --git
a/compiler/typecheck/TcDeriv.lhs
b/compiler/typecheck/TcDeriv.lhs
index
32271ed
..
e534ebd
100644
(file)
--- a/
compiler/typecheck/TcDeriv.lhs
+++ b/
compiler/typecheck/TcDeriv.lhs
@@
-6,11
+6,11
@@
Handles @deriving@ clauses on @data@ declarations.
\begin{code}
Handles @deriving@ clauses on @data@ declarations.
\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
-- 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 TcDeriv ( tcDeriving ) where
-- for details
module TcDeriv ( tcDeriving ) where
diff --git
a/compiler/typecheck/TcEnv.lhs
b/compiler/typecheck/TcEnv.lhs
index
dfdf58e
..
36fa544
100644
(file)
--- a/
compiler/typecheck/TcEnv.lhs
+++ b/
compiler/typecheck/TcEnv.lhs
@@
-3,11
+3,11
@@
%
\begin{code}
%
\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
-- 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 TcEnv(
-- for details
module TcEnv(
diff --git
a/compiler/typecheck/TcExpr.lhs
b/compiler/typecheck/TcExpr.lhs
index
3cd04c4
..
4c0754d
100644
(file)
--- a/
compiler/typecheck/TcExpr.lhs
+++ b/
compiler/typecheck/TcExpr.lhs
@@
-5,11
+5,11
@@
\section[TcExpr]{Typecheck an expression}
\begin{code}
\section[TcExpr]{Typecheck an expression}
\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
-- 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 TcExpr ( tcPolyExpr, tcPolyExprNC,
-- for details
module TcExpr ( tcPolyExpr, tcPolyExprNC,
diff --git
a/compiler/typecheck/TcForeign.lhs
b/compiler/typecheck/TcForeign.lhs
index
f90a787
..
f01f6a5
100644
(file)
--- a/
compiler/typecheck/TcForeign.lhs
+++ b/
compiler/typecheck/TcForeign.lhs
@@
-12,11
+12,11
@@
is restricted to what the outside world understands (read C), and this
module checks to see if a foreign declaration has got a legal type.
\begin{code}
module checks to see if a foreign declaration has got a legal 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
-- 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 TcForeign
-- for details
module TcForeign
diff --git
a/compiler/typecheck/TcGadt.lhs
b/compiler/typecheck/TcGadt.lhs
index
9d2658d
..
286e5b6
100644
(file)
--- a/
compiler/typecheck/TcGadt.lhs
+++ b/
compiler/typecheck/TcGadt.lhs
@@
-10,11
+10,11
@@
%************************************************************************
\begin{code}
%************************************************************************
\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
-- 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 TcGadt (
-- for details
module TcGadt (
diff --git
a/compiler/typecheck/TcGenDeriv.lhs
b/compiler/typecheck/TcGenDeriv.lhs
index
ea5ca8e
..
44e7bbb
100644
(file)
--- a/
compiler/typecheck/TcGenDeriv.lhs
+++ b/
compiler/typecheck/TcGenDeriv.lhs
@@
-11,11
+11,11
@@
This module is nominally ``subordinate'' to @TcDeriv@, which is the
This is where we do all the grimy bindings' generation.
\begin{code}
This is where we do all the grimy bindings' generation.
\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
-- 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 TcGenDeriv (
-- for details
module TcGenDeriv (
diff --git
a/compiler/typecheck/TcHsSyn.lhs
b/compiler/typecheck/TcHsSyn.lhs
index
0d3470e
..
ad073c4
100644
(file)
--- a/
compiler/typecheck/TcHsSyn.lhs
+++ b/
compiler/typecheck/TcHsSyn.lhs
@@
-9,11
+9,11
@@
This module is an extension of @HsSyn@ syntax, for use in the type
checker.
\begin{code}
checker.
\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
-- 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 TcHsSyn (
-- for details
module TcHsSyn (
diff --git
a/compiler/typecheck/TcHsType.lhs
b/compiler/typecheck/TcHsType.lhs
index
8d57bcd
..
67ae3bd
100644
(file)
--- a/
compiler/typecheck/TcHsType.lhs
+++ b/
compiler/typecheck/TcHsType.lhs
@@
-5,11
+5,11
@@
\section[TcMonoType]{Typechecking user-specified @MonoTypes@}
\begin{code}
\section[TcMonoType]{Typechecking user-specified @MonoTypes@}
\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
-- 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 TcHsType (
-- for details
module TcHsType (
diff --git
a/compiler/typecheck/TcInstDcls.lhs
b/compiler/typecheck/TcInstDcls.lhs
index
fadc054
..
3a89bc7
100644
(file)
--- a/
compiler/typecheck/TcInstDcls.lhs
+++ b/
compiler/typecheck/TcInstDcls.lhs
@@
-6,11
+6,11
@@
TcInstDecls: Typechecking instance declarations
\begin{code}
TcInstDecls: Typechecking instance declarations
\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
-- 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 TcInstDcls ( tcInstDecls1, tcInstDecls2 ) where
-- for details
module TcInstDcls ( tcInstDecls1, tcInstDecls2 ) where
diff --git
a/compiler/typecheck/TcMType.lhs
b/compiler/typecheck/TcMType.lhs
index
f8162bc
..
767dbc2
100644
(file)
--- a/
compiler/typecheck/TcMType.lhs
+++ b/
compiler/typecheck/TcMType.lhs
@@
-9,11
+9,11
@@
This module contains monadic operations over types that contain
mutable type variables
\begin{code}
mutable type variables
\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
-- 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 TcMType (
-- for details
module TcMType (
diff --git
a/compiler/typecheck/TcMatches.lhs
b/compiler/typecheck/TcMatches.lhs
index
45cca9c
..
51de6d4
100644
(file)
--- a/
compiler/typecheck/TcMatches.lhs
+++ b/
compiler/typecheck/TcMatches.lhs
@@
-6,11
+6,11
@@
TcMatches: Typecheck some @Matches@
\begin{code}
TcMatches: Typecheck some @Matches@
\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
-- 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 TcMatches ( tcMatchesFun, tcGRHSsPat, tcMatchesCase, tcMatchLambda,
-- for details
module TcMatches ( tcMatchesFun, tcGRHSsPat, tcMatchesCase, tcMatchLambda,
diff --git
a/compiler/typecheck/TcPat.lhs
b/compiler/typecheck/TcPat.lhs
index
9c6a0dc
..
fd69f25
100644
(file)
--- a/
compiler/typecheck/TcPat.lhs
+++ b/
compiler/typecheck/TcPat.lhs
@@
-6,11
+6,11
@@
TcPat: Typechecking patterns
\begin{code}
TcPat: Typechecking patterns
\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
-- 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 TcPat ( tcLetPat, tcLamPat, tcLamPats, tcOverloadedLit,
-- for details
module TcPat ( tcLetPat, tcLamPat, tcLamPats, tcOverloadedLit,
diff --git
a/compiler/typecheck/TcRnDriver.lhs
b/compiler/typecheck/TcRnDriver.lhs
index
3c9f14b
..
0218e7e
100644
(file)
--- a/
compiler/typecheck/TcRnDriver.lhs
+++ b/
compiler/typecheck/TcRnDriver.lhs
@@
-5,11
+5,11
@@
\section[TcModule]{Typechecking a whole module}
\begin{code}
\section[TcModule]{Typechecking a whole module}
\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
-- 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 TcRnDriver (
-- for details
module TcRnDriver (
diff --git
a/compiler/typecheck/TcRnMonad.lhs
b/compiler/typecheck/TcRnMonad.lhs
index
356b03f
..
dd89498
100644
(file)
--- a/
compiler/typecheck/TcRnMonad.lhs
+++ b/
compiler/typecheck/TcRnMonad.lhs
@@
-3,11
+3,11
@@
%
\begin{code}
%
\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
-- 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 TcRnMonad(
-- for details
module TcRnMonad(
diff --git
a/compiler/typecheck/TcRnTypes.lhs
b/compiler/typecheck/TcRnTypes.lhs
index
6c8d648
..
80e5b0f
100644
(file)
--- a/
compiler/typecheck/TcRnTypes.lhs
+++ b/
compiler/typecheck/TcRnTypes.lhs
@@
-3,11
+3,11
@@
% (c) The GRASP Project, Glasgow University, 1992-2002
%
\begin{code}
% (c) The GRASP Project, Glasgow University, 1992-2002
%
\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
-- 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 TcRnTypes(
-- for details
module TcRnTypes(
diff --git
a/compiler/typecheck/TcRules.lhs
b/compiler/typecheck/TcRules.lhs
index
42b5f45
..
db7c805
100644
(file)
--- a/
compiler/typecheck/TcRules.lhs
+++ b/
compiler/typecheck/TcRules.lhs
@@
-6,11
+6,11
@@
TcRules: Typechecking transformation rules
\begin{code}
TcRules: Typechecking transformation rules
\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
-- 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 TcRules ( tcRules ) where
-- for details
module TcRules ( tcRules ) where
diff --git
a/compiler/typecheck/TcSimplify.lhs
b/compiler/typecheck/TcSimplify.lhs
index
fba2491
..
36312f5
100644
(file)
--- a/
compiler/typecheck/TcSimplify.lhs
+++ b/
compiler/typecheck/TcSimplify.lhs
@@
-6,11
+6,11
@@
TcSimplify
\begin{code}
TcSimplify
\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
-- 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 TcSimplify (
-- for details
module TcSimplify (
diff --git
a/compiler/typecheck/TcSplice.lhs
b/compiler/typecheck/TcSplice.lhs
index
b089606
..
b3da4fb
100644
(file)
--- a/
compiler/typecheck/TcSplice.lhs
+++ b/
compiler/typecheck/TcSplice.lhs
@@
-6,11
+6,11
@@
TcSplice: Template Haskell splices
\begin{code}
TcSplice: Template Haskell splices
\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
-- 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 TcSplice( tcSpliceExpr, tcSpliceDecls, tcBracket ) where
-- for details
module TcSplice( tcSpliceExpr, tcSpliceDecls, tcBracket ) where
diff --git
a/compiler/typecheck/TcTyClsDecls.lhs
b/compiler/typecheck/TcTyClsDecls.lhs
index
3df2eef
..
f4d0e86
100644
(file)
--- a/
compiler/typecheck/TcTyClsDecls.lhs
+++ b/
compiler/typecheck/TcTyClsDecls.lhs
@@
-6,11
+6,11
@@
TcTyClsDecls: Typecheck type and class declarations
\begin{code}
TcTyClsDecls: Typecheck type and class declarations
\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
-- 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 TcTyClsDecls (
-- for details
module TcTyClsDecls (
diff --git
a/compiler/typecheck/TcTyDecls.lhs
b/compiler/typecheck/TcTyDecls.lhs
index
ff52101
..
5caf31f
100644
(file)
--- a/
compiler/typecheck/TcTyDecls.lhs
+++ b/
compiler/typecheck/TcTyDecls.lhs
@@
-9,11
+9,11
@@
This stuff is only used for source-code decls; it's recorded in interface
files for imported data types.
\begin{code}
files for imported data types.
\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
-- 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 TcTyDecls(
-- for details
module TcTyDecls(
diff --git
a/compiler/typecheck/TcTyFuns.lhs
b/compiler/typecheck/TcTyFuns.lhs
index
b5ceb78
..
141afb1
100644
(file)
--- a/
compiler/typecheck/TcTyFuns.lhs
+++ b/
compiler/typecheck/TcTyFuns.lhs
@@
-1,10
+1,10
@@
\begin{code}
\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
-- 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 TcTyFuns(
-- for details
module TcTyFuns(
diff --git
a/compiler/typecheck/TcType.lhs
b/compiler/typecheck/TcType.lhs
index
9525001
..
0fc4dca
100644
(file)
--- a/
compiler/typecheck/TcType.lhs
+++ b/
compiler/typecheck/TcType.lhs
@@
-15,11
+15,11
@@
The "tc" prefix is for "TypeChecker", because the type checker
is the principal client.
\begin{code}
is the principal client.
\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
-- 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 TcType (
-- for details
module TcType (
diff --git
a/compiler/typecheck/TcUnify.lhs
b/compiler/typecheck/TcUnify.lhs
index
0d36936
..
5c0a8ea
100644
(file)
--- a/
compiler/typecheck/TcUnify.lhs
+++ b/
compiler/typecheck/TcUnify.lhs
@@
-6,11
+6,11
@@
Type subsumption and unification
\begin{code}
Type subsumption and unification
\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
-- 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 TcUnify (
-- for details
module TcUnify (
diff --git
a/compiler/types/Class.lhs
b/compiler/types/Class.lhs
index
4e134d4
..
dd02cc7
100644
(file)
--- a/
compiler/types/Class.lhs
+++ b/
compiler/types/Class.lhs
@@
-6,11
+6,11
@@
The @Class@ datatype
\begin{code}
The @Class@ datatype
\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
-- 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 Class (
-- for details
module Class (
diff --git
a/compiler/types/Coercion.lhs
b/compiler/types/Coercion.lhs
index
b157f95
..
ac2173c
100644
(file)
--- a/
compiler/types/Coercion.lhs
+++ b/
compiler/types/Coercion.lhs
@@
-12,11
+12,11
@@
The coercion kind constructor is a special TyCon that must always be saturated
typeKind (symCoercion type) :: TyConApp CoercionTyCon{...} [type, type]
\begin{code}
typeKind (symCoercion type) :: TyConApp CoercionTyCon{...} [type, 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
-- 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 Coercion (
-- for details
module Coercion (
diff --git
a/compiler/types/FamInstEnv.lhs
b/compiler/types/FamInstEnv.lhs
index
8ac0453
..
45b3e39
100644
(file)
--- a/
compiler/types/FamInstEnv.lhs
+++ b/
compiler/types/FamInstEnv.lhs
@@
-5,11
+5,11
@@
FamInstEnv: Type checked family instance declarations
\begin{code}
FamInstEnv: Type checked family instance declarations
\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
-- 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 FamInstEnv (
-- for details
module FamInstEnv (
diff --git
a/compiler/types/FunDeps.lhs
b/compiler/types/FunDeps.lhs
index
786afa1
..
a2bb3df
100644
(file)
--- a/
compiler/types/FunDeps.lhs
+++ b/
compiler/types/FunDeps.lhs
@@
-8,11
+8,11
@@
FunDeps - functional dependencies
It's better to read it as: "if we know these, then we're going to know these"
\begin{code}
It's better to read it as: "if we know these, then we're going to know these"
\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
-- 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 FunDeps (
-- for details
module FunDeps (
diff --git
a/compiler/types/Generics.lhs
b/compiler/types/Generics.lhs
index
bec661c
..
8cbc879
100644
(file)
--- a/
compiler/types/Generics.lhs
+++ b/
compiler/types/Generics.lhs
@@
-3,11
+3,11
@@
%
\begin{code}
%
\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
-- 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 Generics ( canDoGenerics, mkTyConGenericBinds,
-- for details
module Generics ( canDoGenerics, mkTyConGenericBinds,
diff --git
a/compiler/types/InstEnv.lhs
b/compiler/types/InstEnv.lhs
index
3042a48
..
1abcc18
100644
(file)
--- a/
compiler/types/InstEnv.lhs
+++ b/
compiler/types/InstEnv.lhs
@@
-7,11
+7,11
@@
The bits common to TcInstDcls and TcDeriv.
\begin{code}
The bits common to TcInstDcls and TcDeriv.
\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
-- 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 InstEnv (
-- for details
module InstEnv (
diff --git
a/compiler/types/TyCon.lhs
b/compiler/types/TyCon.lhs
index
e1cf3f2
..
ccb0183
100644
(file)
--- a/
compiler/types/TyCon.lhs
+++ b/
compiler/types/TyCon.lhs
@@
-6,11
+6,11
@@
The @TyCon@ datatype
\begin{code}
The @TyCon@ datatype
\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
-- 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 TyCon(
-- for details
module TyCon(
diff --git
a/compiler/types/Type.lhs
b/compiler/types/Type.lhs
index
c736bdc
..
4146fa7
100644
(file)
--- a/
compiler/types/Type.lhs
+++ b/
compiler/types/Type.lhs
@@
-6,11
+6,11
@@
Type - public interface
\begin{code}
Type - public interface
\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
-- 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 Type (
-- for details
module Type (
diff --git
a/compiler/types/TypeRep.lhs
b/compiler/types/TypeRep.lhs
index
39fe48c
..
2fe5954
100644
(file)
--- a/
compiler/types/TypeRep.lhs
+++ b/
compiler/types/TypeRep.lhs
@@
-5,11
+5,11
@@
\section[TypeRep]{Type - friends' interface}
\begin{code}
\section[TypeRep]{Type - friends' interface}
\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
-- 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 TypeRep (
-- for details
module TypeRep (
diff --git
a/compiler/types/Unify.lhs
b/compiler/types/Unify.lhs
index
d301b76
..
d13a32b
100644
(file)
--- a/
compiler/types/Unify.lhs
+++ b/
compiler/types/Unify.lhs
@@
-3,11
+3,11
@@
%
\begin{code}
%
\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
-- 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 Unify (
-- for details
module Unify (
diff --git
a/compiler/utils/Bag.lhs
b/compiler/utils/Bag.lhs
index
f00f020
..
6578a79
100644
(file)
--- a/
compiler/utils/Bag.lhs
+++ b/
compiler/utils/Bag.lhs
@@
-6,11
+6,11
@@
Bag: an unordered collection with duplicates
\begin{code}
Bag: an unordered collection with duplicates
\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
-- 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 Bag (
-- for details
module Bag (
diff --git
a/compiler/utils/Binary.hs
b/compiler/utils/Binary.hs
index
0f8cb70
..
f6fed6c
100644
(file)
--- a/
compiler/utils/Binary.hs
+++ b/
compiler/utils/Binary.hs
@@
-10,11
+10,11
@@
-- where you can obtain the original version of the Binary library, namely
-- http://www.cs.york.ac.uk/fp/nhc98/
-- where you can obtain the original version of the Binary library, namely
-- http://www.cs.york.ac.uk/fp/nhc98/
-{-# 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
-- 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 Binary
-- for details
module Binary
diff --git
a/compiler/utils/BufWrite.hs
b/compiler/utils/BufWrite.hs
index
b3d51d8
..
db86aa0
100644
(file)
--- a/
compiler/utils/BufWrite.hs
+++ b/
compiler/utils/BufWrite.hs
@@
-10,11
+10,11
@@
--
-----------------------------------------------------------------------------
--
-----------------------------------------------------------------------------
-{-# 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
-- 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 BufWrite (
-- for details
module BufWrite (
diff --git
a/compiler/utils/Digraph.lhs
b/compiler/utils/Digraph.lhs
index
f4f2b7e
..
addab6c
100644
(file)
--- a/
compiler/utils/Digraph.lhs
+++ b/
compiler/utils/Digraph.lhs
@@
-3,11
+3,11
@@
%
\begin{code}
%
\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
-- 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 Digraph(
-- for details
module Digraph(
diff --git
a/compiler/utils/Encoding.hs
b/compiler/utils/Encoding.hs
index
6ca0d6e
..
ede963f
100644
(file)
--- a/
compiler/utils/Encoding.hs
+++ b/
compiler/utils/Encoding.hs
@@
-6,11
+6,11
@@
--
-- -----------------------------------------------------------------------------
--
-- -----------------------------------------------------------------------------
-{-# 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
-- 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 Encoding (
-- for details
module Encoding (
diff --git
a/compiler/utils/FastMutInt.lhs
b/compiler/utils/FastMutInt.lhs
index
cadc403
..
951cee8
100644
(file)
--- a/
compiler/utils/FastMutInt.lhs
+++ b/
compiler/utils/FastMutInt.lhs
@@
-5,11
+5,11
@@
-- Unboxed mutable Ints
\begin{code}
-- Unboxed mutable Ints
\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
-- 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 FastMutInt(
-- for details
module FastMutInt(
diff --git
a/compiler/utils/FastString.lhs
b/compiler/utils/FastString.lhs
index
5ca071f
..
b744a37
100644
(file)
--- a/
compiler/utils/FastString.lhs
+++ b/
compiler/utils/FastString.lhs
@@
-2,11
+2,11
@@
% (c) The University of Glasgow, 1997-2006
%
\begin{code}
% (c) The University of Glasgow, 1997-2006
%
\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
-- 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
{-
-- for details
{-
diff --git
a/compiler/utils/FastTypes.lhs
b/compiler/utils/FastTypes.lhs
index
7affa7e
..
dc43574
100644
(file)
--- a/
compiler/utils/FastTypes.lhs
+++ b/
compiler/utils/FastTypes.lhs
@@
-4,11
+4,11
@@
\section{Fast integers and booleans}
\begin{code}
\section{Fast integers and booleans}
\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
-- 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 FastTypes (
-- for details
module FastTypes (
diff --git
a/compiler/utils/FiniteMap.lhs
b/compiler/utils/FiniteMap.lhs
index
8a041a8
..
bb73d0f
100644
(file)
--- a/
compiler/utils/FiniteMap.lhs
+++ b/
compiler/utils/FiniteMap.lhs
@@
-18,11
+18,11
@@
The code is SPECIALIZEd to various highly-desirable types (e.g., Id)
near the end.
\begin{code}
near the end.
\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
-- 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 FiniteMap (
-- for details
module FiniteMap (
diff --git
a/compiler/utils/IOEnv.hs
b/compiler/utils/IOEnv.hs
index
d31b078
..
d01588f
100644
(file)
--- a/
compiler/utils/IOEnv.hs
+++ b/
compiler/utils/IOEnv.hs
@@
-4,11
+4,11
@@
-- The IO Monad with an environment
--
-- The IO Monad with an environment
--
-{-# 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
-- 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 IOEnv (
-- for details
module IOEnv (
diff --git
a/compiler/utils/ListSetOps.lhs
b/compiler/utils/ListSetOps.lhs
index
976557e
..
cfd8ddc
100644
(file)
--- a/
compiler/utils/ListSetOps.lhs
+++ b/
compiler/utils/ListSetOps.lhs
@@
-5,11
+5,11
@@
\section[ListSetOps]{Set-like operations on lists}
\begin{code}
\section[ListSetOps]{Set-like operations on lists}
\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
-- 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 ListSetOps (
-- for details
module ListSetOps (
diff --git
a/compiler/utils/Maybes.lhs
b/compiler/utils/Maybes.lhs
index
569d1ad
..
4e4726a
100644
(file)
--- a/
compiler/utils/Maybes.lhs
+++ b/
compiler/utils/Maybes.lhs
@@
-4,11
+4,11
@@
%
\begin{code}
%
\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
-- 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 Maybes (
-- for details
module Maybes (
diff --git
a/compiler/utils/OrdList.lhs
b/compiler/utils/OrdList.lhs
index
4e0018a
..
76e1665
100644
(file)
--- a/
compiler/utils/OrdList.lhs
+++ b/
compiler/utils/OrdList.lhs
@@
-9,11
+9,11
@@
Provide trees (of instructions), so that lists of instructions
can be appended in linear time.
\begin{code}
can be appended in linear time.
\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
-- 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 OrdList (
-- for details
module OrdList (
diff --git
a/compiler/utils/Outputable.lhs
b/compiler/utils/Outputable.lhs
index
9e1e240
..
01db06f
100644
(file)
--- a/
compiler/utils/Outputable.lhs
+++ b/
compiler/utils/Outputable.lhs
@@
-7,11
+7,11
@@
Outputable: defines classes for pretty-printing and forcing, both
forms of ``output.''
\begin{code}
forms of ``output.''
\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
-- 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 Outputable (
-- for details
module Outputable (
diff --git
a/compiler/utils/Panic.lhs
b/compiler/utils/Panic.lhs
index
7644b61
..
9ff02db
100644
(file)
--- a/
compiler/utils/Panic.lhs
+++ b/
compiler/utils/Panic.lhs
@@
-9,11
+9,11
@@
It's hard to put these functions anywhere else without causing
some unnecessary loops in the module dependency graph.
\begin{code}
some unnecessary loops in the module dependency graph.
\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
-- 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 Panic
-- for details
module Panic
diff --git
a/compiler/utils/Pretty.lhs
b/compiler/utils/Pretty.lhs
index
ab13e3e
..
b873ac7
100644
(file)
--- a/
compiler/utils/Pretty.lhs
+++ b/
compiler/utils/Pretty.lhs
@@
-152,11
+152,11
@@
Relative to John's original paper, there are the following new features:
\begin{code}
\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
-- 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 Pretty (
-- for details
module Pretty (
diff --git
a/compiler/utils/State.hs
b/compiler/utils/State.hs
index
8e2d68a
..
a0d21d6
100644
(file)
--- a/
compiler/utils/State.hs
+++ b/
compiler/utils/State.hs
@@
-1,8
+1,8
@@
-{-# 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
-- 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 State where
-- for details
module State where
diff --git
a/compiler/utils/StringBuffer.lhs
b/compiler/utils/StringBuffer.lhs
index
903d7eb
..
69a4f14
100644
(file)
--- a/
compiler/utils/StringBuffer.lhs
+++ b/
compiler/utils/StringBuffer.lhs
@@
-6,11
+6,11
@@
Buffers for scanning string input stored in external arrays.
\begin{code}
Buffers for scanning string input stored in external arrays.
\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
-- 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 StringBuffer
-- for details
module StringBuffer
diff --git
a/compiler/utils/UniqFM.lhs
b/compiler/utils/UniqFM.lhs
index
b6810c8
..
e78d731
100644
(file)
--- a/
compiler/utils/UniqFM.lhs
+++ b/
compiler/utils/UniqFM.lhs
@@
-13,11
+13,11
@@
Basically, the things need to be in class @Uniquable@, and we use the
(A similar thing to @UniqSet@, as opposed to @Set@.)
\begin{code}
(A similar thing to @UniqSet@, as opposed to @Set@.)
\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
-- 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 UniqFM (
-- for details
module UniqFM (
diff --git
a/compiler/utils/UniqSet.lhs
b/compiler/utils/UniqSet.lhs
index
5a2b267
..
aa60dd7
100644
(file)
--- a/
compiler/utils/UniqSet.lhs
+++ b/
compiler/utils/UniqSet.lhs
@@
-9,11
+9,11
@@
Based on @UniqFMs@ (as you would expect).
Basically, the things need to be in class @Uniquable@.
\begin{code}
Basically, the things need to be in class @Uniquable@.
\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
-- 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 UniqSet (
-- for details
module UniqSet (
diff --git
a/compiler/utils/Util.lhs
b/compiler/utils/Util.lhs
index
64ed4f1
..
79f62ea
100644
(file)
--- a/
compiler/utils/Util.lhs
+++ b/
compiler/utils/Util.lhs
@@
-5,11
+5,11
@@
\section[Util]{Highly random utility functions}
\begin{code}
\section[Util]{Highly random utility functions}
\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
-- 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 Util (
-- for details
module Util (
diff --git
a/compiler/vectorise/VectBuiltIn.hs
b/compiler/vectorise/VectBuiltIn.hs
index
6b3790f
..
bb1bdbb
100644
(file)
--- a/
compiler/vectorise/VectBuiltIn.hs
+++ b/
compiler/vectorise/VectBuiltIn.hs
@@
-1,8
+1,8
@@
-{-# 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
-- 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 VectBuiltIn (
-- for details
module VectBuiltIn (
diff --git
a/compiler/vectorise/VectCore.hs
b/compiler/vectorise/VectCore.hs
index
1145dd2
..
db94a7e
100644
(file)
--- a/
compiler/vectorise/VectCore.hs
+++ b/
compiler/vectorise/VectCore.hs
@@
-1,8
+1,8
@@
-{-# 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
-- 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 VectCore (
-- for details
module VectCore (
diff --git
a/compiler/vectorise/VectMonad.hs
b/compiler/vectorise/VectMonad.hs
index
5435fbe
..
738ae6f
100644
(file)
--- a/
compiler/vectorise/VectMonad.hs
+++ b/
compiler/vectorise/VectMonad.hs
@@
-1,8
+1,8
@@
-{-# 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
-- 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 VectMonad (
-- for details
module VectMonad (
diff --git
a/compiler/vectorise/VectType.hs
b/compiler/vectorise/VectType.hs
index
b6bf210
..
34a37bf
100644
(file)
--- a/
compiler/vectorise/VectType.hs
+++ b/
compiler/vectorise/VectType.hs
@@
-1,8
+1,8
@@
-{-# 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
-- 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 VectType ( vectTyCon, vectType, vectTypeEnv,
-- for details
module VectType ( vectTyCon, vectType, vectTypeEnv,
diff --git
a/compiler/vectorise/VectUtils.hs
b/compiler/vectorise/VectUtils.hs
index
2e997a4
..
8d9e904
100644
(file)
--- a/
compiler/vectorise/VectUtils.hs
+++ b/
compiler/vectorise/VectUtils.hs
@@
-1,8
+1,8
@@
-{-# 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
-- 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 VectUtils (
-- for details
module VectUtils (
diff --git
a/compiler/vectorise/Vectorise.hs
b/compiler/vectorise/Vectorise.hs
index
40970c7
..
6fd6190
100644
(file)
--- a/
compiler/vectorise/Vectorise.hs
+++ b/
compiler/vectorise/Vectorise.hs
@@
-1,8
+1,8
@@
-{-# 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
-- 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 Vectorise( vectorise )
-- for details
module Vectorise( vectorise )
diff --git
a/utils/genapply/GenApply.hs
b/utils/genapply/GenApply.hs
index
fe792a1
..
de6fcbc
100644
(file)
--- a/
utils/genapply/GenApply.hs
+++ b/
utils/genapply/GenApply.hs
@@
-1,9
+1,9
@@
{-# OPTIONS -cpp -fglasgow-exts #-}
{-# OPTIONS -cpp -fglasgow-exts #-}
-{-# 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
-- 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 Main(main) where
-- for details
module Main(main) where
diff --git
a/utils/genprimopcode/Parser.y
b/utils/genprimopcode/Parser.y
index
07f1a84
..
c189840
100644
(file)
--- a/
utils/genprimopcode/Parser.y
+++ b/
utils/genprimopcode/Parser.y
@@
-1,10
+1,10
@@
{
{
-{-# 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
-- 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 Parser (parse) where
-- for details
module Parser (parse) where
diff --git
a/utils/hpc/HpcParser.y
b/utils/hpc/HpcParser.y
index
c18e053
..
bfdf9a8
100644
(file)
--- a/
utils/hpc/HpcParser.y
+++ b/
utils/hpc/HpcParser.y
@@
-1,9
+1,9
@@
{
{
-{-# 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
-- 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 HpcParser where
-- for details
module HpcParser where