aboutsummaryrefslogtreecommitdiff
path: root/haddock.cabal
diff options
context:
space:
mode:
authorDavid Waern <david.waern@gmail.com>2008-10-22 21:16:55 +0000
committerDavid Waern <david.waern@gmail.com>2008-10-22 21:16:55 +0000
commita46e79a58ae615393d1b53bf6ce94a75ea3f6d99 (patch)
treedcffa3cb2c29434222e016c7e3d77b89be11bdeb /haddock.cabal
parent938168cc528aa90d2e129641feb4d35b04037fdf (diff)
Add -Wall -Werror to ghc-options
Diffstat (limited to 'haddock.cabal')
-rw-r--r--haddock.cabal4
1 files changed, 3 insertions, 1 deletions
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