diff options
author | David Waern <david.waern@gmail.com> | 2008-10-22 21:16:55 +0000 |
---|---|---|
committer | David Waern <david.waern@gmail.com> | 2008-10-22 21:16:55 +0000 |
commit | a46e79a58ae615393d1b53bf6ce94a75ea3f6d99 (patch) | |
tree | dcffa3cb2c29434222e016c7e3d77b89be11bdeb | |
parent | 938168cc528aa90d2e129641feb4d35b04037fdf (diff) |
Add -Wall -Werror to ghc-options
-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 |