git.iko.soy/typeable/pandoc
on master help sign in
Makefile: add some warnings to GHCOPTS.
commit55047b4919c8a2abe8885beb35b280b708b12b10 authorJohn MacFarlane <jgm@berkeley.edu> dateFri 10 Aug 2018, 16:16 (8 years ago) parent65aea82
1 file changed+5−1
Makefile+5−1
Makefile+5−1
@@ -3,7 +3,11 @@ pandoc=$(shell find dist -name pandoc -type f -exec ls -t {} \; | head -1)
33SOURCEFILES?=$(shell find pandoc.hs src test -name '*.hs')
44BRANCH?=master
55RESOLVER=lts-12
6−GHCOPTS=-fdiagnostics-color=always -Wall -fno-warn-unused-do-bind -Wincomplete-record-updates -Wnoncanonical-monad-instances -Wnoncanonical-monadfail-instances
6+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
7+# Later:
8+# -Wpartial-fields (currently used in Powerpoint writer)
9+# -Wmissing-export-lists (currently some Odt modules violate this)
10+# -Wredundant-constraints (problematic if we want to support older base)
711WEBSITE=../../web/pandoc.org
812
913quick: