Use -Wall for compilation
authorsven.panne@aedion.de <unknown>
Wed, 7 Feb 2007 14:45:03 +0000 (14:45 +0000)
committersven.panne@aedion.de <unknown>
Wed, 7 Feb 2007 14:45:03 +0000 (14:45 +0000)
Makefile
mtl.cabal

index b920d20..b9e197c 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -12,7 +12,7 @@ PACKAGE_DEPS = base
 
 EXCLUDED_SRCS += Setup.hs
 
-SRC_HC_OPTS += -fglasgow-exts
+SRC_HC_OPTS += -Wall -fglasgow-exts
 
 SRC_HADDOCK_OPTS += -t "Haskell Hierarchical Libraries ($(PACKAGE) package)"
 
index 28aa1f9..56ffb94 100644 (file)
--- a/mtl.cabal
+++ b/mtl.cabal
@@ -11,6 +11,7 @@ description:
        Programming with Overloading and Higher-Order Polymorphism",
        by Mark P Jones (<http://www.cse.ogi.edu/~mpj/>), Advanced School
        of Functional Programming, 1995.
+ghc-options:   -Wall
 exposed-modules:
        Control.Monad.Error,
        Control.Monad.Cont,