Repository : ssh://darcs.haskell.org//srv/darcs/packages/Cabal

On branch  : master

http://hackage.haskell.org/trac/ghc/changeset/40a1711ca9c1245721e346155a519dd096adb00e

>---------------------------------------------------------------

commit 40a1711ca9c1245721e346155a519dd096adb00e
Author: Duncan Coutts <[email protected]>
Date:   Sat Nov 22 15:43:09 2008 +0000

    Warn about use of tabs

>---------------------------------------------------------------

 cabal-install/cabal-install.cabal |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/cabal-install/cabal-install.cabal 
b/cabal-install/cabal-install.cabal
index 34aa2aa..3c3b543 100644
--- a/cabal-install/cabal-install.cabal
+++ b/cabal-install/cabal-install.cabal
@@ -34,7 +34,9 @@ Executable cabal
     Main-Is:            Main.hs
     -- We want assertion checking on even if people build with -O
     -- although it is expensive, we want to catch problems early:
-    Ghc-Options:        -Wall -fno-ignore-asserts
+    ghc-options:        -Wall -fno-ignore-asserts
+    if impl(ghc >= 6.8)
+      ghc-options: -fwarn-tabs
     Other-Modules:
         Distribution.Client.BuildReports.Anonymous
         Distribution.Client.BuildReports.Storage



_______________________________________________
Cvs-libraries mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/cvs-libraries

Reply via email to