Don't use -Wnoncanonical-monadfail-instances which is deprecated in ghc 8.8.

This commit is contained in:
John MacFarlane 2019-10-03 12:05:51 -07:00
parent 78ff2234f4
commit 4f75fed976

View file

@ -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)