[Git][ghc/ghc][wip/warns-messages-drivermessage] Don't error on deprecated flags

Oleg Grenrus (@phadej) gitlab at gitlab.haskell.org
Tue May 16 18:23:40 UTC 2023



Oleg Grenrus pushed to branch wip/warns-messages-drivermessage at Glasgow Haskell Compiler / GHC


Commits:
aaaa3e77 by Oleg Grenrus at 2023-05-16T21:23:15+03:00
Don't error on deprecated flags

.. with werror flavour

- - - - -


1 changed file:

- hadrian/src/Flavour.hs


Changes:

=====================================
hadrian/src/Flavour.hs
=====================================
@@ -127,8 +127,9 @@ werror =
     ( builder Ghc
         ? notStage0
         ? mconcat
-          [ arg "-Werror",
-            flag CrossCompiling
+          [ arg "-Werror"
+          , arg "-Wwarn=deprecated-flags"
+          , flag CrossCompiling
               ? package unix
               ? mconcat [arg "-Wwarn=unused-imports", arg "-Wwarn=unused-top-binds"]
           ]



View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/aaaa3e77a088de691debd7732c4393cf8d7cb5b0

-- 
View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/aaaa3e77a088de691debd7732c4393cf8d7cb5b0
You're receiving this email because of your account on gitlab.haskell.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/ghc-commits/attachments/20230516/9ca8cbc5/attachment-0001.html>


More information about the ghc-commits mailing list