Skip to content

Commit 2234b1f

Browse files
committed
Revert "Use -Wno-* instead of the obsolete -fno-warn-*"
-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
1 parent 05290d0 commit 2234b1f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

X11.cabal

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ library
8282
includes: HsXlib.h, HsAllKeysyms.h
8383
install-includes: HsXlib.h, XlibExtras.h, HsAllKeysyms.h
8484
include-dirs: include
85-
ghc-options: -funbox-strict-fields -Wall -Wno-unused-binds
85+
ghc-options: -funbox-strict-fields -Wall -fno-warn-unused-binds
8686

8787
if flag(pedantic)
8888
ghc-options: -Werror

0 commit comments

Comments
 (0)