]> gitweb.michael.orlitzky.com - spline3.git/commitdiff
spline3.cabal: enable a lot more warnings by default.
authorMichael Orlitzky <michael@orlitzky.com>
Tue, 5 Mar 2019 02:07:23 +0000 (21:07 -0500)
committerMichael Orlitzky <michael@orlitzky.com>
Tue, 5 Mar 2019 02:07:23 +0000 (21:07 -0500)
spline3.cabal

index 2fc7b13f9162800d404466360838a8db3dd237c9..deabe44e64a728c257539d39b3cfff627f892953 100644 (file)
@@ -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