From: Ian Lynagh Date: Wed, 26 Mar 2008 15:51:05 +0000 (+0000) Subject: Fix warnings in basicTypes/VarSet X-Git-Url: http://git.megacz.com/?a=commitdiff_plain;ds=sidebyside;h=6457193e8206bb0d4b994436e9c7c7991dd4cc30;p=ghc-hetmet.git Fix warnings in basicTypes/VarSet --- diff --git a/compiler/basicTypes/VarSet.lhs b/compiler/basicTypes/VarSet.lhs index 1bef89a..d4293ba 100644 --- a/compiler/basicTypes/VarSet.lhs +++ b/compiler/basicTypes/VarSet.lhs @@ -4,13 +4,6 @@ % \begin{code} -{-# 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/Commentary/CodingStyle#Warnings --- for details - module VarSet ( VarSet, IdSet, TyVarSet, emptyVarSet, unitVarSet, mkVarSet, @@ -24,12 +17,13 @@ module VarSet ( elemVarSetByKey ) where +-- XXX This define is a bit of a hack, and should be done more nicely +#define FAST_STRING_NOT_NEEDED 1 #include "HsVersions.h" import Var import Unique import UniqSet -import UniqFM \end{code} %************************************************************************