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

Zubin (@wz1000) gitlab at gitlab.haskell.org
Mon Dec 4 13:35:27 UTC 2023



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


Commits:
19b5346e by Zubin Duggal at 2023-12-04T19:05:14+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" -- https://gitlab.haskell.org/ghc/ghc/-/issues/24240
+                                      ]
         , package ghc          ? pure [ "-Wcpp-undef"
                                       , "-Wincomplete-uni-patterns"
                                       , "-Wincomplete-record-updates"



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

-- 
View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/19b5346ea8389bbec5b4358c016880eeaafcfff2
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/fd499fa2/attachment-0001.html>


More information about the ghc-commits mailing list