[commit: ghc] wip/map-coerce-wrappers, wip/parse-errors, wip/unexpected-test: Hadrian: enable -Wcompat=error in the testsuite (b31df5c)

git at git.haskell.org git at git.haskell.org
Sat Feb 16 10:32:54 UTC 2019


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

On branches: wip/map-coerce-wrappers,wip/parse-errors,wip/unexpected-test
Link       : http://ghc.haskell.org/trac/ghc/changeset/b31df5caaebb1c4f72a3c70a9cdb7893af4c3309/ghc

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

commit b31df5caaebb1c4f72a3c70a9cdb7893af4c3309
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


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

b31df5caaebb1c4f72a3c70a9cdb7893af4c3309
 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