diff options
author | Albert Krewinkel <albert@zeitkraut.de> | 2018-10-27 20:35:20 +0200 |
---|---|---|
committer | Albert Krewinkel <albert@zeitkraut.de> | 2018-10-27 20:35:20 +0200 |
commit | f966a8c4322a9490eae73c03731af8e8d40e34ba (patch) | |
tree | 6197f0acfecde97c666b146dded624402e960a53 | |
parent | 0a29da50426859ad19f4d388edab9dc90ebfa1ca (diff) | |
download | pandoc-f966a8c4322a9490eae73c03731af8e8d40e34ba.tar.gz |
pandoc.cabal: enable more compiler warnings
-rw-r--r-- | pandoc.cabal | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/pandoc.cabal b/pandoc.cabal index 2a99fc2a2..a3e62d5cf 100644 --- a/pandoc.cabal +++ b/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 |