Browse files

Adds -Werror, changes -fno-warns

There shouldn't be any duplicate exports after the previous fix, so that
warning is reabled. The unused-imports is needed for some modules where
Foreig.C.Types is imported but not used as it only defines functions of
type IO (). These warnings can be (I think) safely ignored. All the
other warnings indicate that something has gone wrong and should
therefore be treated as errors.
  • Loading branch information...
1 parent b8f2622 commit 0251df38db63ffc9d9614869aa79e34fc6e66c4f @Laar committed Jan 16, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 BuildSources/OpenGLRawTest.cabal
@@ -34,7 +34,7 @@ library
hs-Source-Dirs: src
include-dirs: include
build-depends: base >= 3 && < 5
- ghc-options: -Wall -fno-warn-duplicate-exports
+ ghc-options: -Wall -fno-warn-unused-imports -Werror
if impl(ghc)
build-depends: ghc-prim
if os(windows) && flag(UseNativeWindowsLibraries)

0 comments on commit 0251df3

Please sign in to comment.