Proper GHC conditionals to fix compiler warnings

This commit is contained in:
2016-06-05 16:16:41 +02:00
parent d3eb2fc254
commit ed06543981
2 changed files with 9 additions and 2 deletions

View File

@@ -19,7 +19,10 @@ extra-source-files: README.md
library
hs-source-dirs: src/
default-language: Haskell2010
ghc-options: -Wall
if impl(ghc >= 8.0)
ghc-options: -Wall -Wno-redundant-constraints
else
ghc-options: -Wall
c-sources: cbits/dirutils.c
exposed-modules: HPath,
HPath.IO,