From ce1c1042e7ba238d91ff1fd06bb1a8ed07e0a8d9 Mon Sep 17 00:00:00 2001 From: Thomas Hallgren Date: Fri, 11 Aug 2017 15:45:19 +0200 Subject: [PATCH] gf.cabal: don't enable warnings about unused imports by default --- gf.cabal | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/gf.cabal b/gf.cabal index c83d4185b..92e041799 100644 --- a/gf.cabal +++ b/gf.cabal @@ -99,7 +99,7 @@ Library else build-depends: binary, data-binary-ieee754 - ghc-options: -fwarn-unused-imports +--ghc-options: -fwarn-unused-imports --if impl(ghc>=7.8) -- ghc-options: +RTS -A20M -RTS ghc-prof-options: -fprof-auto @@ -312,8 +312,7 @@ Library else build-tools: happy, alex>=3 - if impl(ghc>=7.10) - ghc-options: -fno-warn-tabs + ghc-options: -fno-warn-tabs if os(windows) build-depends: Win32 @@ -326,7 +325,8 @@ Executable gf main-is: gf-main.hs default-language: Haskell2010 build-depends: gf, base - ghc-options: -threaded -fwarn-unused-imports + ghc-options: -threaded +--ghc-options: -fwarn-unused-imports if impl(ghc>=7.0) ghc-options: -rtsopts -with-rtsopts=-I5