From 4f75fed976dc38b12ac86edadd7bfa6dcb4b56d2 Mon Sep 17 00:00:00 2001 From: John MacFarlane Date: Thu, 3 Oct 2019 12:05:51 -0700 Subject: [PATCH] Don't use -Wnoncanonical-monadfail-instances which is deprecated in ghc 8.8. --- pandoc.cabal | 6 ------ 1 file changed, 6 deletions(-) diff --git a/pandoc.cabal b/pandoc.cabal index f75f39445..74810683a 100644 --- a/pandoc.cabal +++ b/pandoc.cabal @@ -449,7 +449,6 @@ library ghc-options: -Wall -fno-warn-unused-do-bind -Wincomplete-record-updates -Wnoncanonical-monad-instances - -Wnoncanonical-monadfail-instances -- Later: -- -Wpartial-fields (currently used in Powerpoint writer) -- -Wmissing-export-lists (currently some Odt modules violate this) @@ -642,7 +641,6 @@ executable pandoc -Wall -fno-warn-unused-do-bind -Wincomplete-record-updates -Wnoncanonical-monad-instances - -Wnoncanonical-monadfail-instances if impl(ghc >= 8.2) ghc-options: -Wcpp-undef if impl(ghc >= 8.4) @@ -670,7 +668,6 @@ executable trypandoc -Wall -fno-warn-unused-do-bind -Wincomplete-record-updates -Wnoncanonical-monad-instances - -Wnoncanonical-monadfail-instances if impl(ghc >= 8.2) ghc-options: -Wcpp-undef if impl(ghc >= 8.4) @@ -698,7 +695,6 @@ benchmark weigh-pandoc -Wall -fno-warn-unused-do-bind -Wincomplete-record-updates -Wnoncanonical-monad-instances - -Wnoncanonical-monadfail-instances if impl(ghc >= 8.2) ghc-options: -Wcpp-undef if impl(ghc >= 8.4) @@ -800,7 +796,6 @@ test-suite test-pandoc -Wall -fno-warn-unused-do-bind -Wincomplete-record-updates -Wnoncanonical-monad-instances - -Wnoncanonical-monadfail-instances if impl(ghc >= 8.2) ghc-options: -Wcpp-undef if impl(ghc >= 8.4) @@ -830,7 +825,6 @@ benchmark benchmark-pandoc -Wall -fno-warn-unused-do-bind -Wincomplete-record-updates -Wnoncanonical-monad-instances - -Wnoncanonical-monadfail-instances if impl(ghc >= 8.2) ghc-options: -Wcpp-undef if impl(ghc >= 8.4)