Makefile: add some warnings to GHCOPTS.
This commit is contained in:
parent
65aea82a04
commit
55047b4919
1 changed files with 5 additions and 1 deletions
6
Makefile
6
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')
|
SOURCEFILES?=$(shell find pandoc.hs src test -name '*.hs')
|
||||||
BRANCH?=master
|
BRANCH?=master
|
||||||
RESOLVER=lts-12
|
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
|
WEBSITE=../../web/pandoc.org
|
||||||
|
|
||||||
quick:
|
quick:
|
||||||
|
|
Loading…
Reference in a new issue