[commit: packages/unix] master: Make `-Wall` clean and drop `-fno-warn-unused-imports` (e968172)

git at git.haskell.org git at git.haskell.org
Sat Oct 12 22:21:46 UTC 2013


Repository : ssh://git@git.haskell.org/unix

On branch  : master
Link       : http://git.haskell.org/packages/unix.git/commitdiff/e968172cb0c9f4fc653c775faf3ecb661f5b1948

>---------------------------------------------------------------

commit e968172cb0c9f4fc653c775faf3ecb661f5b1948
Author: Herbert Valerio Riedel <hvr at gnu.org>
Date:   Sat Oct 12 23:49:25 2013 +0200

    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 at gnu.org>


>---------------------------------------------------------------

e968172cb0c9f4fc653c775faf3ecb661f5b1948
 System/Posix/Directory.hsc            |    1 -
 System/Posix/Directory/ByteString.hsc |    1 -
 System/Posix/Directory/Common.hsc     |    3 ---
 System/Posix/Files.hsc                |    6 +-----
 System/Posix/Files/Common.hsc         |   12 ++++++++----
 System/Posix/IO.hsc                   |    1 -
 System/Posix/IO/ByteString.hsc        |    9 ---------
 System/Posix/IO/Common.hsc            |    4 ----
 System/Posix/Resource.hsc             |   18 ++++++++----------
 System/Posix/SharedMem.hsc            |    6 ++++--
 System/Posix/Terminal.hsc             |    5 +++--
 System/Posix/Terminal/ByteString.hsc  |   11 ++++++-----
 System/Posix/Terminal/Common.hsc      |   14 ++------------
 System/Posix/Unistd.hsc               |    2 --
 unix.cabal                            |    2 ++
 15 files changed, 34 insertions(+), 61 deletions(-)

Diff suppressed because of size. To see it, use:

    git diff-tree --root --patch-with-stat --no-color --find-copies-harder --ignore-space-at-eol --cc e968172cb0c9f4fc653c775faf3ecb661f5b1948


More information about the ghc-commits mailing list