Use -Wno-* instead of the obsolete -fno-warn-*

This commit is contained in:
Tomas Janousek
2021-05-24 11:19:53 +01:00
parent 90101613e7
commit d72da951c9

View File

@@ -80,7 +80,7 @@ library
, transformers >= 0.3
, unix
, utf8-string >= 0.3 && < 1.1
ghc-options: -funbox-strict-fields -Wall -fno-warn-unused-do-bind
ghc-options: -funbox-strict-fields -Wall -Wno-unused-do-bind
-- Keep this in sync with the oldest version in 'tested-with'
if impl(ghc > 8.4.4)
@@ -92,7 +92,7 @@ library
executable xmonad
main-is: Main.hs
build-depends: base, X11, mtl, unix, xmonad
ghc-options: -Wall -fno-warn-unused-do-bind
ghc-options: -Wall -Wno-unused-do-bind
-- Keep this in sync with the oldest version in 'tested-with'
if impl(ghc > 8.4.4)