[commit: ghc] master: Start using `-W` instead of `-f(no-)warn` in some places (437ebdd)

git at git.haskell.org git at git.haskell.org
Wed Dec 16 13:51:31 UTC 2015


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

On branch  : master
Link       : http://ghc.haskell.org/trac/ghc/changeset/437ebdda48e7a32fe1bea49cb503f456a0152a36/ghc

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

commit 437ebdda48e7a32fe1bea49cb503f456a0152a36
Author: Herbert Valerio Riedel <hvr at gnu.org>
Date:   Wed Dec 16 13:32:32 2015 +0100

    Start using `-W` instead of `-f(no-)warn` in some places
    
    This replaces some occurences of `-f(no-)warn` with the new `-W`-aliases
    introduced via 2206fa8cdb120932 / #11218, in cases which are guaranteed
    to be invoked with recent enough GHC (i.e. the stage1+ GHC).
    
    After this commit, mostly the compiler and the testsuite remain using
    `-f(wo-)warn...` because the compiler needs to be bootstrappable with
    older GHCs, while for the testsuite it's convenient to be able to quickly
    compare the behavior to older GHCs (which may not support the new flags yet).
    
    The compiler-part can be updated to use the new flags once GHC 8.3 development
    starts.
    
    Reviewed By: quchen
    
    Differential Revision: https://phabricator.haskell.org/D1637


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

437ebdda48e7a32fe1bea49cb503f456a0152a36
 libraries/base/Control/Arrow.hs                |  2 +-
 libraries/base/Control/Category.hs             |  2 +-
 libraries/base/Control/Concurrent.hs           |  2 +-
 libraries/base/Foreign/C/Types.hs              |  4 +-
 libraries/base/GHC/Base.hs                     |  4 +-
 libraries/base/GHC/Conc.hs                     |  2 +-
 libraries/base/GHC/Conc/IO.hs                  |  2 +-
 libraries/base/GHC/Conc/Sync.hs                |  2 +-
 libraries/base/GHC/Conc/Windows.hs             |  2 +-
 libraries/base/GHC/Event/IntTable.hs           |  2 +-
 libraries/base/GHC/Float.hs                    |  2 +-
 libraries/base/GHC/IO/Encoding/CodePage/API.hs |  2 +-
 libraries/base/GHC/IO/FD.hs                    |  2 +-
 libraries/base/GHC/IO/Handle.hs                |  2 +-
 libraries/base/GHC/IO/Handle/Internals.hs      |  4 +-
 libraries/base/GHC/IO/Handle/Text.hs           |  4 +-
 libraries/base/GHC/Real.hs                     |  2 +-
 libraries/base/Text/Show/Functions.hs          |  2 +-
 libraries/ghc-prim/GHC/Classes.hs              |  8 ++--
 mk/warnings.mk                                 | 57 ++++++++++++++------------
 20 files changed, 57 insertions(+), 52 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 437ebdda48e7a32fe1bea49cb503f456a0152a36


More information about the ghc-commits mailing list