diff options
| author | Ian Lynagh <igloo@earth.li> | 2007-09-01 11:21:30 +0000 |
|---|---|---|
| committer | Ian Lynagh <igloo@earth.li> | 2007-09-01 11:21:30 +0000 |
| commit | 17b297d97d327620ed6bfab942f8992b2446f1bf (patch) | |
| tree | c84753f3bbbc9a1f0a262abfad5ddcf9d5b6271b /compiler/prelude | |
| parent | e11fa7a5e0025460df3b8562ccbf3ffd1db68d5d (diff) | |
| download | haskell-17b297d97d327620ed6bfab942f8992b2446f1bf.tar.gz | |
Add {-# OPTIONS_GHC -w #-} and some blurb to all compiler modules
Diffstat (limited to 'compiler/prelude')
| -rw-r--r-- | compiler/prelude/ForeignCall.lhs | 7 | ||||
| -rw-r--r-- | compiler/prelude/PrelInfo.lhs | 7 | ||||
| -rw-r--r-- | compiler/prelude/PrelNames.lhs | 7 | ||||
| -rw-r--r-- | compiler/prelude/PrelRules.lhs | 7 | ||||
| -rw-r--r-- | compiler/prelude/PrimOp.lhs | 7 | ||||
| -rw-r--r-- | compiler/prelude/TysPrim.lhs | 7 | ||||
| -rw-r--r-- | compiler/prelude/TysWiredIn.lhs | 7 |
7 files changed, 49 insertions, 0 deletions
diff --git a/compiler/prelude/ForeignCall.lhs b/compiler/prelude/ForeignCall.lhs index 2f44e05e1a..15c48a907e 100644 --- a/compiler/prelude/ForeignCall.lhs +++ b/compiler/prelude/ForeignCall.lhs @@ -4,6 +4,13 @@ \section[Foreign]{Foreign calls} \begin{code} +{-# OPTIONS_GHC -w #-} +-- The above warning supression flag is a temporary kludge. +-- While working on this module you are encouraged to remove it and fix +-- any warnings in the module. See +-- http://hackage.haskell.org/trac/ghc/wiki/WorkingConventions#Warnings +-- for details + module ForeignCall ( ForeignCall(..), Safety(..), playSafe, playThreadSafe, diff --git a/compiler/prelude/PrelInfo.lhs b/compiler/prelude/PrelInfo.lhs index 939c496e9b..1dcf2b8143 100644 --- a/compiler/prelude/PrelInfo.lhs +++ b/compiler/prelude/PrelInfo.lhs @@ -4,6 +4,13 @@ \section[PrelInfo]{The @PrelInfo@ interface to the compiler's prelude knowledge} \begin{code} +{-# OPTIONS_GHC -w #-} +-- The above warning supression flag is a temporary kludge. +-- While working on this module you are encouraged to remove it and fix +-- any warnings in the module. See +-- http://hackage.haskell.org/trac/ghc/wiki/WorkingConventions#Warnings +-- for details + module PrelInfo ( module MkId, diff --git a/compiler/prelude/PrelNames.lhs b/compiler/prelude/PrelNames.lhs index 6c4a335b30..84d09d146b 100644 --- a/compiler/prelude/PrelNames.lhs +++ b/compiler/prelude/PrelNames.lhs @@ -36,6 +36,13 @@ Nota Bene: all Names defined in here should come from the base package \begin{code} +{-# OPTIONS_GHC -w #-} +-- The above warning supression flag is a temporary kludge. +-- While working on this module you are encouraged to remove it and fix +-- any warnings in the module. See +-- http://hackage.haskell.org/trac/ghc/wiki/WorkingConventions#Warnings +-- for details + module PrelNames ( Unique, Uniquable(..), hasKey, -- Re-exported for convenience diff --git a/compiler/prelude/PrelRules.lhs b/compiler/prelude/PrelRules.lhs index a03aff2e8e..864c995e71 100644 --- a/compiler/prelude/PrelRules.lhs +++ b/compiler/prelude/PrelRules.lhs @@ -15,6 +15,13 @@ ToDo: {-# OPTIONS -optc-DNON_POSIX_SOURCE #-} +{-# OPTIONS_GHC -w #-} +-- The above warning supression flag is a temporary kludge. +-- While working on this module you are encouraged to remove it and fix +-- any warnings in the module. See +-- http://hackage.haskell.org/trac/ghc/wiki/WorkingConventions#Warnings +-- for details + module PrelRules ( primOpRules, builtinRules ) where #include "HsVersions.h" diff --git a/compiler/prelude/PrimOp.lhs b/compiler/prelude/PrimOp.lhs index dae8bee840..136dacedb5 100644 --- a/compiler/prelude/PrimOp.lhs +++ b/compiler/prelude/PrimOp.lhs @@ -4,6 +4,13 @@ \section[PrimOp]{Primitive operations (machine-level)} \begin{code} +{-# OPTIONS_GHC -w #-} +-- The above warning supression flag is a temporary kludge. +-- While working on this module you are encouraged to remove it and fix +-- any warnings in the module. See +-- http://hackage.haskell.org/trac/ghc/wiki/WorkingConventions#Warnings +-- for details + module PrimOp ( PrimOp(..), allThePrimOps, primOpType, primOpSig, diff --git a/compiler/prelude/TysPrim.lhs b/compiler/prelude/TysPrim.lhs index 6206718d88..dfdb2a56d0 100644 --- a/compiler/prelude/TysPrim.lhs +++ b/compiler/prelude/TysPrim.lhs @@ -4,6 +4,13 @@ \section[TysPrim]{Wired-in knowledge about primitive types} \begin{code} +{-# OPTIONS_GHC -w #-} +-- The above warning supression flag is a temporary kludge. +-- While working on this module you are encouraged to remove it and fix +-- any warnings in the module. See +-- http://hackage.haskell.org/trac/ghc/wiki/WorkingConventions#Warnings +-- for details + module TysPrim( alphaTyVars, betaTyVars, alphaTyVar, betaTyVar, gammaTyVar, deltaTyVar, alphaTy, betaTy, gammaTy, deltaTy, diff --git a/compiler/prelude/TysWiredIn.lhs b/compiler/prelude/TysWiredIn.lhs index 278e333ce4..812a00ccc6 100644 --- a/compiler/prelude/TysWiredIn.lhs +++ b/compiler/prelude/TysWiredIn.lhs @@ -10,6 +10,13 @@ This module tracks the ``state interface'' document, ``GHC prelude: types and operations.'' \begin{code} +{-# OPTIONS_GHC -w #-} +-- The above warning supression flag is a temporary kludge. +-- While working on this module you are encouraged to remove it and fix +-- any warnings in the module. See +-- http://hackage.haskell.org/trac/ghc/wiki/WorkingConventions#Warnings +-- for details + module TysWiredIn ( wiredInTyCons, |
