Skip to content

Commit

Permalink
Revert "Use -Wno-* instead of the obsolete -fno-warn-*"
Browse files Browse the repository at this point in the history
-fno-warn still works in current GHC versions and the rest of the X11
package works just fine with GHC <8, at least for now, so let's revert
this to make some users happy.

This reverts commit ec5ccda.

Fixes: #80
  • Loading branch information
liskin committed Oct 24, 2021
1 parent 05290d0 commit 2234b1f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion X11.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ library
includes: HsXlib.h, HsAllKeysyms.h
install-includes: HsXlib.h, XlibExtras.h, HsAllKeysyms.h
include-dirs: include
ghc-options: -funbox-strict-fields -Wall -Wno-unused-binds
ghc-options: -funbox-strict-fields -Wall -fno-warn-unused-binds

if flag(pedantic)
ghc-options: -Werror

0 comments on commit 2234b1f

Please sign in to comment.