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/javaGen | |
parent | e11fa7a5e0025460df3b8562ccbf3ffd1db68d5d (diff) | |
download | haskell-17b297d97d327620ed6bfab942f8992b2446f1bf.tar.gz |
Add {-# OPTIONS_GHC -w #-} and some blurb to all compiler modules
Diffstat (limited to 'compiler/javaGen')
-rw-r--r-- | compiler/javaGen/Java.lhs | 7 | ||||
-rw-r--r-- | compiler/javaGen/JavaGen.lhs | 7 | ||||
-rw-r--r-- | compiler/javaGen/PrintJava.lhs | 7 |
3 files changed, 21 insertions, 0 deletions
diff --git a/compiler/javaGen/Java.lhs b/compiler/javaGen/Java.lhs index 368be03fc1..9fdbe1afcd 100644 --- a/compiler/javaGen/Java.lhs +++ b/compiler/javaGen/Java.lhs @@ -10,6 +10,13 @@ for the backend of GHC and to target languauges like Java sucessfully. -- Andy Gill \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 Java where \end{code} diff --git a/compiler/javaGen/JavaGen.lhs b/compiler/javaGen/JavaGen.lhs index a3925b18e8..285150a121 100644 --- a/compiler/javaGen/JavaGen.lhs +++ b/compiler/javaGen/JavaGen.lhs @@ -42,6 +42,13 @@ $i for instances. $k for keyword nameclash avoidance. \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 JavaGen( javaGen ) where import Java diff --git a/compiler/javaGen/PrintJava.lhs b/compiler/javaGen/PrintJava.lhs index eb2811d38f..4107e9c9b9 100644 --- a/compiler/javaGen/PrintJava.lhs +++ b/compiler/javaGen/PrintJava.lhs @@ -4,6 +4,13 @@ \section{Generate Java} \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 PrintJava( compilationUnit ) where import Java |