Turned on more compiler warnings
This commit is contained in:
parent
2b62520013
commit
355481cafa
12
Makefile.am
12
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
|
||||
|
|
Loading…
Reference in New Issue
Block a user