From 6516064616b0b993a694cb4e8423a53c60a9b3c3 Mon Sep 17 00:00:00 2001 From: Brent Yorgey Date: Tue, 12 Jan 2010 18:25:07 +0100 Subject: suppress some warnings under ghc 6.12.1 and clean up redundant imports to get rid of some others. Ignore-this: bf3487b27036b02797d9f528a078d006 darcs-hash:20100112172507-1e371-1b466e62ac727b196330c72c8553116282ef5702.gz --- xmonad-contrib.cabal | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'xmonad-contrib.cabal') diff --git a/xmonad-contrib.cabal b/xmonad-contrib.cabal index d96d03f..20d511c 100644 --- a/xmonad-contrib.cabal +++ b/xmonad-contrib.cabal @@ -50,12 +50,18 @@ library cpp-options: -DXFT build-depends: mtl, unix, X11>=1.5.0.0 && < 1.6, xmonad>=0.9.1, xmonad<0.10, utf8-string - ghc-options: -fwarn-tabs -Wall + + if true + ghc-options: -fwarn-tabs -Wall + extensions: ForeignFunctionInterface if flag(testing) ghc-options: -fwarn-tabs -Werror + if impl(ghc >= 6.12.1) + ghc-options: -fno-warn-warnings-deprecations -fno-warn-unused-do-bind + if impl (ghc == 6.10.1) && arch (x86_64) ghc-options: -O0 -- cgit v1.2.3