From: Michael Orlitzky Date: Tue, 5 Mar 2019 02:07:23 +0000 (-0500) Subject: spline3.cabal: enable a lot more warnings by default. X-Git-Tag: 1.0.1~23 X-Git-Url: http://gitweb.michael.orlitzky.com/?p=spline3.git;a=commitdiff_plain;h=0b3152a88d2fa4a7c75f29a2859c31ef23d27bf3 spline3.cabal: enable a lot more warnings by default. --- diff --git a/spline3.cabal b/spline3.cabal index 2fc7b13..deabe44 100644 --- a/spline3.cabal +++ b/spline3.cabal @@ -76,23 +76,16 @@ executable spline3 Volumetric 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 -funbox-strict-fields -fexcess-precision -fno-spec-constr-count -rtsopts -threaded - - ghc-options: -O2 -optc-O3 -optc-march=native @@ -113,13 +106,16 @@ test-suite doctests -- It's not entirely clear to me why I have to reproduce all of this. ghc-options: + -Weverything + -Wno-implicit-prelude + -Wno-safe + -Wno-unsafe + -Wno-all-missed-specialisations -rtsopts -threaded -funbox-strict-fields -fexcess-precision -fno-spec-constr-count - - ghc-options: -O2 -optc-O3 -optc-march=native @@ -162,6 +158,11 @@ test-suite testsuite -- It's not entirely clear to me why I have to reproduce all of this. ghc-options: + -Weverything + -Wno-implicit-prelude + -Wno-safe + -Wno-unsafe + -Wno-all-missed-specialisations -rtsopts -threaded -funbox-strict-fields