From: Michael Orlitzky Date: Wed, 6 Jul 2016 21:34:12 +0000 (-0400) Subject: Add more warnings and use the GHC-8.x -Wfoo style. X-Git-Tag: 0.4.0~19 X-Git-Url: https://gitweb.michael.orlitzky.com/?p=hath.git;a=commitdiff_plain;h=3f8eddfd203ff5473434c8ec71bc48ff68af6e73 Add more warnings and use the GHC-8.x -Wfoo style. --- 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