Make `-Wall` clean and drop `-fno-warn-unused-imports`
authorHerbert Valerio Riedel <hvr@gnu.org>
Sat, 12 Oct 2013 21:49:25 +0000 (23:49 +0200)
committerHerbert Valerio Riedel <hvr@gnu.org>
Sat, 12 Oct 2013 21:49:25 +0000 (23:49 +0200)
commite968172cb0c9f4fc653c775faf3ecb661f5b1948
tree14451b438f7aa84a75c4f1f94cceb2bea3959ffc
parent7b9044abd826ef1e0f91a1ce5922ed1303e1f2a0
Make `-Wall` clean and drop `-fno-warn-unused-imports`

CPP conditional code sections have been carefully taken into account
while performing this warning cleanup. Most `OPTIONS_GHC` declarations
could be dropped (now only a lonely `{-# OPTIONS_GHC -fno-cse #-}`
remains in `Posix.Signals`).

Signed-off-by: Herbert Valerio Riedel <hvr@gnu.org>
15 files changed:
System/Posix/Directory.hsc
System/Posix/Directory/ByteString.hsc
System/Posix/Directory/Common.hsc
System/Posix/Files.hsc
System/Posix/Files/Common.hsc
System/Posix/IO.hsc
System/Posix/IO/ByteString.hsc
System/Posix/IO/Common.hsc
System/Posix/Resource.hsc
System/Posix/SharedMem.hsc
System/Posix/Terminal.hsc
System/Posix/Terminal/ByteString.hsc
System/Posix/Terminal/Common.hsc
System/Posix/Unistd.hsc
unix.cabal