summaryrefslogtreecommitdiff
path: root/compiler/main
diff options
context:
space:
mode:
Diffstat (limited to 'compiler/main')
-rw-r--r--compiler/main/BreakArray.hs4
-rw-r--r--compiler/main/CmdLineParser.hs4
-rw-r--r--compiler/main/CodeOutput.lhs4
-rw-r--r--compiler/main/Constants.lhs4
-rw-r--r--compiler/main/DriverMkDepend.hs4
-rw-r--r--compiler/main/DriverPhases.hs4
-rw-r--r--compiler/main/DriverPipeline.hs4
-rw-r--r--compiler/main/DynFlags.hs4
-rw-r--r--compiler/main/ErrUtils.lhs4
-rw-r--r--compiler/main/Finder.lhs4
-rw-r--r--compiler/main/GHC.hs4
-rw-r--r--compiler/main/HeaderInfo.hs4
-rw-r--r--compiler/main/HscMain.lhs4
-rw-r--r--compiler/main/HscStats.lhs4
-rw-r--r--compiler/main/HscTypes.lhs4
-rw-r--r--compiler/main/InteractiveEval.hs4
-rw-r--r--compiler/main/Main.hs4
-rw-r--r--compiler/main/PackageConfig.hs4
-rw-r--r--compiler/main/Packages.lhs4
-rw-r--r--compiler/main/ParsePkgConf.y4
-rw-r--r--compiler/main/PprTyThing.hs4
-rw-r--r--compiler/main/StaticFlags.hs4
-rw-r--r--compiler/main/SysTools.lhs4
-rw-r--r--compiler/main/TidyPgm.lhs4
24 files changed, 48 insertions, 48 deletions
diff --git a/compiler/main/BreakArray.hs b/compiler/main/BreakArray.hs
index 86b9da44e4..d258ae6961 100644
--- 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
--- http://hackage.haskell.org/trac/ghc/wiki/WorkingConventions#Warnings
+-- http://hackage.haskell.org/trac/ghc/wiki/CodingStyle#Warnings
-- for details
module BreakArray
diff --git a/compiler/main/CmdLineParser.hs b/compiler/main/CmdLineParser.hs
index d68e6f78e2..27a1409a55 100644
--- 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
--- http://hackage.haskell.org/trac/ghc/wiki/WorkingConventions#Warnings
+-- http://hackage.haskell.org/trac/ghc/wiki/CodingStyle#Warnings
-- for details
module CmdLineParser (
diff --git a/compiler/main/CodeOutput.lhs b/compiler/main/CodeOutput.lhs
index 2c8a399a1b..79305fcccb 100644
--- a/compiler/main/CodeOutput.lhs
+++ b/compiler/main/CodeOutput.lhs
@@ -4,11 +4,11 @@
\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
--- 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
diff --git a/compiler/main/Constants.lhs b/compiler/main/Constants.lhs
index fc47aade88..d6f6bc19d7 100644
--- a/compiler/main/Constants.lhs
+++ b/compiler/main/Constants.lhs
@@ -4,11 +4,11 @@
\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
--- 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
diff --git a/compiler/main/DriverMkDepend.hs b/compiler/main/DriverMkDepend.hs
index 085c9e6d7e..4f0dfb0e17 100644
--- 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
--- http://hackage.haskell.org/trac/ghc/wiki/WorkingConventions#Warnings
+-- http://hackage.haskell.org/trac/ghc/wiki/CodingStyle#Warnings
-- for details
module DriverMkDepend (
diff --git a/compiler/main/DriverPhases.hs b/compiler/main/DriverPhases.hs
index 498b007709..b684d0e80b 100644
--- 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
--- http://hackage.haskell.org/trac/ghc/wiki/WorkingConventions#Warnings
+-- http://hackage.haskell.org/trac/ghc/wiki/CodingStyle#Warnings
-- for details
module DriverPhases (
diff --git a/compiler/main/DriverPipeline.hs b/compiler/main/DriverPipeline.hs
index 29fddd028d..5308ba2df1 100644
--- 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
--- http://hackage.haskell.org/trac/ghc/wiki/WorkingConventions#Warnings
+-- http://hackage.haskell.org/trac/ghc/wiki/CodingStyle#Warnings
-- for details
module DriverPipeline (
diff --git a/compiler/main/DynFlags.hs b/compiler/main/DynFlags.hs
index bee06f18e4..83990e342f 100644
--- 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
--- http://hackage.haskell.org/trac/ghc/wiki/WorkingConventions#Warnings
+-- http://hackage.haskell.org/trac/ghc/wiki/CodingStyle#Warnings
-- for details
module DynFlags (
diff --git a/compiler/main/ErrUtils.lhs b/compiler/main/ErrUtils.lhs
index f89954d2ce..cee03cce3b 100644
--- a/compiler/main/ErrUtils.lhs
+++ b/compiler/main/ErrUtils.lhs
@@ -4,11 +4,11 @@
\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
--- http://hackage.haskell.org/trac/ghc/wiki/WorkingConventions#Warnings
+-- http://hackage.haskell.org/trac/ghc/wiki/CodingStyle#Warnings
-- for details
module ErrUtils (
diff --git a/compiler/main/Finder.lhs b/compiler/main/Finder.lhs
index 62d6740230..f9e3aa4813 100644
--- a/compiler/main/Finder.lhs
+++ b/compiler/main/Finder.lhs
@@ -4,11 +4,11 @@
\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
--- http://hackage.haskell.org/trac/ghc/wiki/WorkingConventions#Warnings
+-- http://hackage.haskell.org/trac/ghc/wiki/CodingStyle#Warnings
-- for details
module Finder (
diff --git a/compiler/main/GHC.hs b/compiler/main/GHC.hs
index 6b01520eb2..254302fda6 100644
--- 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
--- http://hackage.haskell.org/trac/ghc/wiki/WorkingConventions#Warnings
+-- http://hackage.haskell.org/trac/ghc/wiki/CodingStyle#Warnings
-- for details
module GHC (
diff --git a/compiler/main/HeaderInfo.hs b/compiler/main/HeaderInfo.hs
index 9099246288..334da824d7 100644
--- 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
--- http://hackage.haskell.org/trac/ghc/wiki/WorkingConventions#Warnings
+-- http://hackage.haskell.org/trac/ghc/wiki/CodingStyle#Warnings
-- for details
module HeaderInfo ( getImportsFromFile, getImports
diff --git a/compiler/main/HscMain.lhs b/compiler/main/HscMain.lhs
index c8f6f67f91..51d6d88cd6 100644
--- 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}
-{-# OPTIONS_GHC -w #-}
+{-# OPTIONS -w #-}
-- The above warning supression flag is a temporary kludge.
-- While working on this module you are encouraged to remove it and fix
-- any warnings in 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
diff --git a/compiler/main/HscStats.lhs b/compiler/main/HscStats.lhs
index 21d47eb32c..3e182e0724 100644
--- a/compiler/main/HscStats.lhs
+++ b/compiler/main/HscStats.lhs
@@ -4,11 +4,11 @@
\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
--- http://hackage.haskell.org/trac/ghc/wiki/WorkingConventions#Warnings
+-- http://hackage.haskell.org/trac/ghc/wiki/CodingStyle#Warnings
-- for details
module HscStats ( ppSourceStats ) where
diff --git a/compiler/main/HscTypes.lhs b/compiler/main/HscTypes.lhs
index a11c931b01..66f936faf8 100644
--- a/compiler/main/HscTypes.lhs
+++ b/compiler/main/HscTypes.lhs
@@ -4,11 +4,11 @@
\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
--- http://hackage.haskell.org/trac/ghc/wiki/WorkingConventions#Warnings
+-- http://hackage.haskell.org/trac/ghc/wiki/CodingStyle#Warnings
-- for details
module HscTypes (
diff --git a/compiler/main/InteractiveEval.hs b/compiler/main/InteractiveEval.hs
index 8579901afc..071e434e53 100644
--- 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
--- http://hackage.haskell.org/trac/ghc/wiki/WorkingConventions#Warnings
+-- http://hackage.haskell.org/trac/ghc/wiki/CodingStyle#Warnings
-- for details
module InteractiveEval (
diff --git a/compiler/main/Main.hs b/compiler/main/Main.hs
index d1efe65ed8..4059f1e00f 100644
--- 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
--- http://hackage.haskell.org/trac/ghc/wiki/WorkingConventions#Warnings
+-- http://hackage.haskell.org/trac/ghc/wiki/CodingStyle#Warnings
-- for details
module Main (main) where
diff --git a/compiler/main/PackageConfig.hs b/compiler/main/PackageConfig.hs
index bb5e7fdb6d..08ba31ff85 100644
--- a/compiler/main/PackageConfig.hs
+++ b/compiler/main/PackageConfig.hs
@@ -2,11 +2,11 @@
-- (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
--- http://hackage.haskell.org/trac/ghc/wiki/WorkingConventions#Warnings
+-- http://hackage.haskell.org/trac/ghc/wiki/CodingStyle#Warnings
-- for details
module PackageConfig (
diff --git a/compiler/main/Packages.lhs b/compiler/main/Packages.lhs
index 80ab2446dc..474c1b3a43 100644
--- a/compiler/main/Packages.lhs
+++ b/compiler/main/Packages.lhs
@@ -4,11 +4,11 @@
% 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
--- http://hackage.haskell.org/trac/ghc/wiki/WorkingConventions#Warnings
+-- http://hackage.haskell.org/trac/ghc/wiki/CodingStyle#Warnings
-- for details
module Packages (
diff --git a/compiler/main/ParsePkgConf.y b/compiler/main/ParsePkgConf.y
index 5472abcfe4..eb3d97f3d6 100644
--- 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
--- http://hackage.haskell.org/trac/ghc/wiki/WorkingConventions#Warnings
+-- http://hackage.haskell.org/trac/ghc/wiki/CodingStyle#Warnings
-- for details
module ParsePkgConf( loadPackageConfig ) where
diff --git a/compiler/main/PprTyThing.hs b/compiler/main/PprTyThing.hs
index 8c6e696278..7c50680def 100644
--- 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
--- http://hackage.haskell.org/trac/ghc/wiki/WorkingConventions#Warnings
+-- http://hackage.haskell.org/trac/ghc/wiki/CodingStyle#Warnings
-- for details
module PprTyThing (
diff --git a/compiler/main/StaticFlags.hs b/compiler/main/StaticFlags.hs
index f285b89903..a843ef90d1 100644
--- 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
--- http://hackage.haskell.org/trac/ghc/wiki/WorkingConventions#Warnings
+-- http://hackage.haskell.org/trac/ghc/wiki/CodingStyle#Warnings
-- for details
module StaticFlags (
diff --git a/compiler/main/SysTools.lhs b/compiler/main/SysTools.lhs
index a4222a7577..729316836b 100644
--- a/compiler/main/SysTools.lhs
+++ b/compiler/main/SysTools.lhs
@@ -7,11 +7,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
--- http://hackage.haskell.org/trac/ghc/wiki/WorkingConventions#Warnings
+-- http://hackage.haskell.org/trac/ghc/wiki/CodingStyle#Warnings
-- for details
module SysTools (
diff --git a/compiler/main/TidyPgm.lhs b/compiler/main/TidyPgm.lhs
index dec5c6b0d3..15435e9b70 100644
--- a/compiler/main/TidyPgm.lhs
+++ b/compiler/main/TidyPgm.lhs
@@ -4,11 +4,11 @@
\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
--- 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