projects
/
ghc-hetmet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
d9e4390
)
Fix building with old compilers which don't understand -fno-warn-orphans
author
Ian Lynagh
<igloo@earth.li>
Thu, 6 Sep 2007 19:57:37 +0000
(19:57 +0000)
committer
Ian Lynagh
<igloo@earth.li>
Thu, 6 Sep 2007 19:57:37 +0000
(19:57 +0000)
compiler/cmm/Cmm.hs
patch
|
blob
|
history
diff --git
a/compiler/cmm/Cmm.hs
b/compiler/cmm/Cmm.hs
index
22479ca
..
24542e1
100644
(file)
--- a/
compiler/cmm/Cmm.hs
+++ b/
compiler/cmm/Cmm.hs
@@
-1,4
+1,7
@@
-{-# OPTIONS -Wall -fno-warn-name-shadowing -fno-warn-orphans #-}
+{-# OPTIONS -fno-warn-name-shadowing -w #-}
+-- We'd like to use -fno-warn-orphans rather than -w, but old compilers
+-- don't understand it so building stage1 fails.
+
-----------------------------------------------------------------------------
--
-- Cmm data types
-----------------------------------------------------------------------------
--
-- Cmm data types
@@
-7,13
+10,6
@@
--
-----------------------------------------------------------------------------
--
-----------------------------------------------------------------------------
-{-# OPTIONS -w #-}
--- The above warning supression flag is a temporary kludge.
--- While working on this module you are encouraged to remove it and fix
--- any warnings in the module. See
--- http://hackage.haskell.org/trac/ghc/wiki/CodingStyle#Warnings
--- for details
-
module Cmm (
GenCmm(..), Cmm, RawCmm,
GenCmmTop(..), CmmTop, RawCmmTop,
module Cmm (
GenCmm(..), Cmm, RawCmm,
GenCmmTop(..), CmmTop, RawCmmTop,