[Git][ghc/ghc][wip/bump-unix-filepath] hadrian: set -Wno-deprecations for directory

Zubin (@wz1000) gitlab at gitlab.haskell.org
Mon Dec 4 12:55:36 UTC 2023



Zubin pushed to branch wip/bump-unix-filepath at Glasgow Haskell Compiler / GHC


Commits:
227b47b3 by Zubin Duggal at 2023-12-04T18:23:51+05:30
hadrian: set -Wno-deprecations for directory

The filepath bump to 1.4.200.1 introduces a deprecation warning.

See https://gitlab.haskell.org/ghc/ghc/-/issues/24240
    https://github.com/haskell/filepath/pull/206

- - - - -


1 changed file:

- hadrian/src/Settings/Warnings.hs


Changes:

=====================================
hadrian/src/Settings/Warnings.hs
=====================================
@@ -35,7 +35,9 @@ ghcWarningsArgs = do
         , package binary       ? pure [ "-Wno-deprecations" ]
         , package bytestring   ? pure [ "-Wno-inline-rule-shadowing" ]
         , package compiler     ? pure [ "-Wcpp-undef" ]
-        , package directory    ? pure [ "-Wno-unused-imports" ]
+        , package directory    ? pure [ "-Wno-unused-imports"
+                                      , "-Wno-deprecations"
+                                      ]
         , package ghc          ? pure [ "-Wcpp-undef"
                                       , "-Wincomplete-uni-patterns"
                                       , "-Wincomplete-record-updates"



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

-- 
View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/227b47b3e84b4ffee1ebef012d3635b59de7caac
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/20231204/cf5e89f8/attachment.html>


More information about the ghc-commits mailing list