From 17b297d97d327620ed6bfab942f8992b2446f1bf Mon Sep 17 00:00:00 2001 From: Ian Lynagh Date: Sat, 1 Sep 2007 11:21:30 +0000 Subject: Add {-# OPTIONS_GHC -w #-} and some blurb to all compiler modules --- compiler/profiling/CostCentre.lhs | 7 +++++++ compiler/profiling/SCCfinal.lhs | 7 +++++++ 2 files changed, 14 insertions(+) (limited to 'compiler/profiling') diff --git a/compiler/profiling/CostCentre.lhs b/compiler/profiling/CostCentre.lhs index bc3a5d169d..38c5a82036 100644 --- a/compiler/profiling/CostCentre.lhs +++ b/compiler/profiling/CostCentre.lhs @@ -4,6 +4,13 @@ \section[CostCentre]{The @CostCentre@ data type} \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 CostCentre ( CostCentre(..), CcName, IsDupdCC(..), IsCafCC(..), -- All abstract except to friend: ParseIface.y diff --git a/compiler/profiling/SCCfinal.lhs b/compiler/profiling/SCCfinal.lhs index 256984ad91..e24eee123e 100644 --- a/compiler/profiling/SCCfinal.lhs +++ b/compiler/profiling/SCCfinal.lhs @@ -23,6 +23,13 @@ This is now a sort-of-normal STG-to-STG pass (WDP 94/06), run by stg2stg. * "Distributes" given cost-centres to all as-yet-unmarked RHSs. \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 SCCfinal ( stgMassageForProfiling ) where #include "HsVersions.h" -- cgit v1.2.1