Fixed warnings in vectorise/VectCore
authorTwan van Laarhoven <twanvl@gmail.com>
Sun, 3 Feb 2008 22:40:03 +0000 (22:40 +0000)
committerTwan van Laarhoven <twanvl@gmail.com>
Sun, 3 Feb 2008 22:40:03 +0000 (22:40 +0000)
compiler/vectorise/VectCore.hs

index 248bcb6..34ffdb7 100644 (file)
@@ -1,10 +1,3 @@
-{-# 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 VectCore (
   Vect, VVar, VExpr, VBind,
 
@@ -18,6 +11,8 @@ module VectCore (
   vCaseDEFAULT, vCaseProd
 ) 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 CoreSyn