[Git][ghc/ghc][master] Don't build GHC with -Wcompat
Marge Bot pushed to branch master at Glasgow Haskell Compiler / GHC Commits: 759fd15a by Andreas Klebinger at 2026-01-21T16:05:28-05:00 Don't build GHC with -Wcompat Without bumping the boot compiler the warnings it produces are often not actionable leading to pointless noise. Fixes #26800 - - - - - 2 changed files: - compiler/ghc.cabal.in - hadrian/src/Settings/Builders/Ghc.hs Changes: ===================================== compiler/ghc.cabal.in ===================================== @@ -149,6 +149,7 @@ Library else Build-Depends: unix >= 2.7 && < 2.9 + -- Hadrian further set some warnings in its Settings.Warnings module. GHC-Options: -Wall -Wno-name-shadowing -Wnoncanonical-monad-instances ===================================== hadrian/src/Settings/Builders/Ghc.hs ===================================== @@ -38,7 +38,6 @@ compileAndLinkHs = (builder (Ghc CompileHs) ||^ builder (Ghc LinkHs)) ? do stage <- getStage hie_path <- getHieBuildPath 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 View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/759fd15ad1eca1d8dd4838ba789ef749... -- View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/759fd15ad1eca1d8dd4838ba789ef749... You're receiving this email because of your account on gitlab.haskell.org.
participants (1)
-
Marge Bot (@marge-bot)