summaryrefslogtreecommitdiff
path: root/compiler/javaGen
diff options
context:
space:
mode:
Diffstat (limited to 'compiler/javaGen')
-rw-r--r--compiler/javaGen/Java.lhs7
-rw-r--r--compiler/javaGen/JavaGen.lhs7
-rw-r--r--compiler/javaGen/PrintJava.lhs7
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