[commit: ghc] master: Finalise warnings-related arguments (#448) (438dc57)

git at git.haskell.org git at git.haskell.org
Tue Oct 23 20:11:31 UTC 2018


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

On branch  : master
Link       : http://ghc.haskell.org/trac/ghc/changeset/438dc576e7b84c473a09d1d7ec7798a30303bc4e/ghc

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

commit 438dc576e7b84c473a09d1d7ec7798a30303bc4e
Author: Andrey Mokhov <andrey.mokhov at gmail.com>
Date:   Mon Nov 6 01:28:34 2017 +0000

    Finalise warnings-related arguments (#448)
    
    * Fix non-exhaustive pattern match warning
    
    * Move warnings-related settings to a separate module
    
    * Move defaultHsWarningsArgs to Settings.Warnings, add -Wcpp-undef
    
    * Use defaultGhcWarningsArgs in Settings.Builders.Ghc. Add -Wnoncanonical-monad-instances.
    
    * Add warnings for ghc-cabal
    
    * Add RTS warning flags
    
    * Fix build with integer-simple library
    
    * There are no tabs in xhtml


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

438dc576e7b84c473a09d1d7ec7798a30303bc4e
 cfg/system.config.in              |  1 +
 hadrian.cabal                     |  1 +
 src/Oracles/Flag.hs               |  2 ++
 src/Rules/Compile.hs              |  2 +-
 src/Rules/Generate.hs             |  6 ++--
 src/Settings.hs                   |  6 ++--
 src/Settings/Builders/Cc.hs       |  4 +--
 src/Settings/Builders/Ghc.hs      | 24 ++++++++-------
 src/Settings/Default.hs           | 62 ++++-----------------------------------
 src/Settings/Packages/Base.hs     |  4 +--
 src/Settings/Packages/GhcCabal.hs |  1 +
 src/Settings/Packages/Rts.hs      | 18 ++++++++++++
 src/Settings/Warnings.hs          | 57 +++++++++++++++++++++++++++++++++++
 13 files changed, 109 insertions(+), 79 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 438dc576e7b84c473a09d1d7ec7798a30303bc4e


More information about the ghc-commits mailing list