From 0b3152a88d2fa4a7c75f29a2859c31ef23d27bf3 Mon Sep 17 00:00:00 2001 From: Michael Orlitzky Date: Mon, 4 Mar 2019 21:07:23 -0500 Subject: [PATCH] spline3.cabal: enable a lot more warnings by default. --- spline3.cabal | 29 +++++++++++++++-------------- 1 file changed, 15 insertions(+), 14 deletions(-) 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 -- 2.44.2