From a46e79a58ae615393d1b53bf6ce94a75ea3f6d99 Mon Sep 17 00:00:00 2001 From: David Waern Date: Wed, 22 Oct 2008 21:16:55 +0000 Subject: Add -Wall -Werror to ghc-options --- haddock.cabal | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'haddock.cabal') diff --git a/haddock.cabal b/haddock.cabal index 198ca14b..a71fd23e 100644 --- a/haddock.cabal +++ b/haddock.cabal @@ -89,7 +89,7 @@ executable haddock hs-source-dirs: src extensions: CPP, PatternGuards, DeriveDataTypeable, ScopedTypeVariables, MagicHash - ghc-options: -funbox-strict-fields -O2 + ghc-options: -funbox-strict-fields -O2 -Wall -Werror other-modules: Haddock.Interface @@ -138,6 +138,8 @@ library Haddock.Utils Haddock.GHC.Utils + ghc-options: -Wall -Werror + -- Cabal doesn't define __GHC_PATCHLEVEL__ if impl(ghc == 6.8.3) cpp-options: -D__GHC_PATCHLEVEL__=3 -- cgit v1.2.3