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

Zubin (@wz1000) gitlab at gitlab.haskell.org
Tue Dec 5 08:00:48 UTC 2023



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


Commits:
45d4b4a0 by Zubin Duggal at 2023-12-05T13:30:33+05:30
hadrian: set -Wno-deprecations for directory and Win32

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"
@@ -60,5 +62,7 @@ ghcWarningsArgs = do
                                       , "-Wno-redundant-constraints"
                                       , "-Wno-orphans" ]
         , package unix         ? pure [ "-Wno-deprecations" ]
-        , package win32        ? pure [ "-Wno-trustworthy-safe" ]
+        , package win32        ? pure [ "-Wno-trustworthy-safe"
+                                      , "-Wno-deprecations" -- https://gitlab.haskell.org/ghc/ghc/-/issues/24240
+                                      ]
         , package xhtml        ? pure [ "-Wno-unused-imports" ] ] ]



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

-- 
View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/45d4b4a0677c4931377ab863c114882719bac9b2
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/20231205/bf4b1172/attachment-0001.html>


More information about the ghc-commits mailing list