aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2018-08-10 16:16:00 -0700
committerJohn MacFarlane <jgm@berkeley.edu>2018-08-10 16:16:00 -0700
commit55047b4919c8a2abe8885beb35b280b708b12b10 (patch)
treec08ce1dbf5c578db49949475dcef9bb0197f3284
parent65aea82a04f6147a5ab952b88f7f16b528bc9c50 (diff)
downloadpandoc-55047b4919c8a2abe8885beb35b280b708b12b10.tar.gz
Makefile: add some warnings to GHCOPTS.
-rw-r--r--Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 6c8b261bc..21830d27e 100644
--- a/Makefile
+++ b/Makefile
@@ -3,7 +3,11 @@ pandoc=$(shell find dist -name pandoc -type f -exec ls -t {} \; | head -1)
SOURCEFILES?=$(shell find pandoc.hs src test -name '*.hs')
BRANCH?=master
RESOLVER=lts-12
-GHCOPTS=-fdiagnostics-color=always -Wall -fno-warn-unused-do-bind -Wincomplete-record-updates -Wnoncanonical-monad-instances -Wnoncanonical-monadfail-instances
+GHCOPTS=-fdiagnostics-color=always -Wall -fno-warn-unused-do-bind -Wincomplete-record-updates -Wnoncanonical-monad-instances -Wnoncanonical-monadfail-instances -Wincomplete-uni-patterns -Werror=missing-home-modules -Widentities -Wcpp-undef
+# Later:
+# -Wpartial-fields (currently used in Powerpoint writer)
+# -Wmissing-export-lists (currently some Odt modules violate this)
+# -Wredundant-constraints (problematic if we want to support older base)
WEBSITE=../../web/pandoc.org
quick: