From 355481cafa3d5140e837c9212ff38112fd0a068b Mon Sep 17 00:00:00 2001 From: Neil Brown Date: Tue, 29 Jan 2008 17:22:29 +0000 Subject: [PATCH] Turned on more compiler warnings --- Makefile.am | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/Makefile.am b/Makefile.am index be87c2c..e156dfe 100644 --- a/Makefile.am +++ b/Makefile.am @@ -1,10 +1,20 @@ GHC_OPTS = \ -fglasgow-exts \ + -fwarn-deprecations \ + -fwarn-duplicate-exports \ + -fwarn-missing-fields \ + -fwarn-missing-methods \ + -fwarn-overlapping-patterns \ + -fwarn-simple-patterns \ + -fwarn-type-defaults \ -fwarn-unused-binds \ -fwarn-unused-imports \ - -fwarn-type-defaults \ -ibackends -ichecks -icommon -ifrontends -itransformations +# TODO turn on this option too: +# -fwarn-missing-signatures + + if GHC68 GHC_OPTS += -XUndecidableInstances -fwarn-tabs -fwarn-monomorphism-restriction else