From 6b444083943442d9f426ea029ff4f4e82afe9e30 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Matthias=20H=C3=B6rmann?= Date: Mon, 26 Dec 2016 19:33:27 +0100 Subject: [PATCH] add -Wall and a couple of other warning GHC options to .cabal file --- ldap-client.cabal | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/ldap-client.cabal b/ldap-client.cabal index 8c1e0bc..62ef69e 100644 --- a/ldap-client.cabal +++ b/ldap-client.cabal @@ -25,6 +25,11 @@ source-repository head tag: 0.1.0 library + ghc-options: + -Wall + -fwarn-incomplete-uni-patterns + -fwarn-incomplete-record-updates + -fwarn-unrecognised-pragmas default-language: Haskell2010 hs-source-dirs: @@ -56,6 +61,11 @@ library , text test-suite spec + ghc-options: + -Wall + -fwarn-incomplete-uni-patterns + -fwarn-incomplete-record-updates + -fwarn-unrecognised-pragmas default-language: Haskell2010 type: