diff options
Diffstat (limited to 'haddock.cabal')
-rw-r--r-- | haddock.cabal | 4 |
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 |