From 3f8eddfd203ff5473434c8ec71bc48ff68af6e73 Mon Sep 17 00:00:00 2001 From: Michael Orlitzky Date: Wed, 6 Jul 2016 17:34:12 -0400 Subject: [PATCH] Add more warnings and use the GHC-8.x -Wfoo style. --- hath.cabal | 30 ++++++++++-------------------- 1 file changed, 10 insertions(+), 20 deletions(-) diff --git a/hath.cabal b/hath.cabal index 2ef059b..73ce76d 100644 --- a/hath.cabal +++ b/hath.cabal @@ -114,16 +114,11 @@ executable hath tasty-quickcheck >= 0.8.1 ghc-options: - -Wall - -fwarn-hi-shadowing - -fwarn-missing-signatures - -fwarn-name-shadowing - -fwarn-orphans - -fwarn-type-defaults - -fwarn-tabs - -fwarn-incomplete-record-updates - -fwarn-monomorphism-restriction - -fwarn-unused-do-bind + -Weverything + -Wno-implicit-prelude + -Wno-safe + -Wno-unsafe + -Wno-all-missed-specialisations -rtsopts -threaded -optc-O3 @@ -153,16 +148,11 @@ test-suite testsuite -- It's not entirely clear to me why I have to reproduce all of this. ghc-options: - -Wall - -fwarn-hi-shadowing - -fwarn-missing-signatures - -fwarn-name-shadowing - -fwarn-orphans - -fwarn-type-defaults - -fwarn-tabs - -fwarn-incomplete-record-updates - -fwarn-monomorphism-restriction - -fwarn-unused-do-bind + -Weverything + -Wno-implicit-prelude + -Wno-safe + -Wno-unsafe + -Wno-all-missed-specialisations -rtsopts -threaded -optc-O3 -- 2.43.2