pandoc.cabal: enable more compiler warnings
This commit is contained in:
parent
0a29da5042
commit
f966a8c432
1 changed files with 9 additions and 1 deletions
10
pandoc.cabal
10
pandoc.cabal
|
@ -414,7 +414,15 @@ library
|
|||
other-modules: Text.Pandoc.Data
|
||||
if os(windows)
|
||||
cpp-options: -D_WINDOWS
|
||||
ghc-options: -Wall -fno-warn-unused-do-bind
|
||||
ghc-options: -Wall -fno-warn-unused-do-bind
|
||||
if impl(ghc > 8.0)
|
||||
ghc-options: -Wincomplete-record-updates
|
||||
-Wnoncanonical-monad-instances
|
||||
-Wnoncanonical-monadfail-instances
|
||||
if impl(ghc > 8.4)
|
||||
ghc-options: -Wincomplete-uni-patterns
|
||||
-Widentities
|
||||
-Werror=missing-home-modules
|
||||
default-language: Haskell2010
|
||||
other-extensions: NoImplicitPrelude
|
||||
hs-source-dirs: src
|
||||
|
|
Loading…
Add table
Reference in a new issue