summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOleg Grenrus <oleg.grenrus@iki.fi>2021-02-16 17:47:46 +0200
committerMarge Bot <ben+marge-bot@smart-cactus.org>2021-03-31 11:12:17 -0400
commit44774dc591206291d06e6181f599151631062332 (patch)
treecd0d161e327735bd2aeac6692a0528129c6d3238
parent59e82fb3474d06d141941bcc8f063493985cf8f3 (diff)
downloadhaskell-44774dc591206291d06e6181f599151631062332.tar.gz
Add -Wcompat to hadrian
Update submodules haskeline and hpc
-rw-r--r--hadrian/src/Settings/Builders/Ghc.hs1
m---------libraries/haskeline0
m---------libraries/hpc0
3 files changed, 1 insertions, 0 deletions
diff --git a/hadrian/src/Settings/Builders/Ghc.hs b/hadrian/src/Settings/Builders/Ghc.hs
index 29ca57a4f2..c3dad6d4d7 100644
--- a/hadrian/src/Settings/Builders/Ghc.hs
+++ b/hadrian/src/Settings/Builders/Ghc.hs
@@ -34,6 +34,7 @@ compileAndLinkHs = (builder (Ghc CompileHs) ||^ builder (Ghc LinkHs)) ? do
let hasVanilla = elem vanilla ways
hasDynamic = elem dynamic ways
mconcat [ arg "-Wall"
+ , arg "-Wcompat"
, not useColor ? builder (Ghc CompileHs) ?
-- N.B. Target.trackArgument ignores this argument from the
-- input hash to avoid superfluous recompilation, avoiding
diff --git a/libraries/haskeline b/libraries/haskeline
-Subproject 7d8d1abd6878ad14583ac476b664d5c3edf2f33
+Subproject c03e7029b2d9c3d16da5480306b42b8d4ebe03c
diff --git a/libraries/hpc b/libraries/hpc
-Subproject 59e6ba02f3fa5c8f4901b4ce21777c4a9beb14b
+Subproject cf838c8853178c18a7c53dc229606da83a7b201