[commit: packages/binary] master: Turn on more warnings if ghc >= 7.11. (6aafbcf)
git at git.haskell.org
git at git.haskell.org
Tue Feb 2 21:05:01 UTC 2016
Repository : ssh://git@git.haskell.org/binary
On branch : master
Link : http://git.haskell.org/packages/binary.git/commitdiff/6aafbcfda0529380e75269c463182c9cf6d959e8
>---------------------------------------------------------------
commit 6aafbcfda0529380e75269c463182c9cf6d959e8
Author: Lennart Kolmodin <kolmodin at google.com>
Date: Thu Jan 21 11:24:39 2016 +0100
Turn on more warnings if ghc >= 7.11.
>---------------------------------------------------------------
6aafbcfda0529380e75269c463182c9cf6d959e8
binary.cabal | 3 +++
1 file changed, 3 insertions(+)
diff --git a/binary.cabal b/binary.cabal
index 7781a03..899fc50 100644
--- a/binary.cabal
+++ b/binary.cabal
@@ -53,6 +53,9 @@ library
ghc-options: -O2 -Wall -fliberate-case-threshold=1000
+ if impl(ghc >= 7.11)
+ ghc-options: -Wcompat -Wnoncanonical-monad-instances
+
-- Due to circular dependency, we cannot make any of the test-suites or
-- benchmark depend on the binary library. Instead, for each test-suite and
-- benchmark, we include the source directory of binary and build-depend on all
More information about the ghc-commits
mailing list