[commit: ghc] wip/hadrian-wcompat: Hadrian: enable -Wcompat=error in the testsuite (709db55)

git at git.haskell.org git at git.haskell.org
Thu Feb 14 09:12:45 UTC 2019


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

On branch  : wip/hadrian-wcompat
Link       : http://ghc.haskell.org/trac/ghc/changeset/709db55ed13ef2c98d50a7c45e329279d13f8e73/ghc

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

commit 709db55ed13ef2c98d50a7c45e329279d13f8e73
Author: Vladislav Zavialov <vlad.z.4096 at gmail.com>
Date:   Wed Feb 13 15:22:59 2019 +0300

    Hadrian: enable -Wcompat=error in the testsuite


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

709db55ed13ef2c98d50a7c45e329279d13f8e73
 hadrian/src/Settings/Builders/RunTest.hs | 1 +
 1 file changed, 1 insertion(+)

diff --git a/hadrian/src/Settings/Builders/RunTest.hs b/hadrian/src/Settings/Builders/RunTest.hs
index 55a5e58..834cacf 100644
--- a/hadrian/src/Settings/Builders/RunTest.hs
+++ b/hadrian/src/Settings/Builders/RunTest.hs
@@ -46,6 +46,7 @@ runTestGhcFlags = do
         , ifMinGhcVer "711" "-fshow-warning-groups"
         , ifMinGhcVer "801" "-fdiagnostics-color=never"
         , ifMinGhcVer "801" "-fno-diagnostics-show-caret"
+        , pure "-Werror=compat" -- See Trac #15278
         , pure "-dno-debug-output"
         ]
 



More information about the ghc-commits mailing list