Skip to content
Snippets Groups Projects
Commit 86f652dc authored by Zubin's avatar Zubin Committed by Marge Bot
Browse files

hadrian: set -Wno-deprecations for directory and Win32

The filepath bump to 1.4.200.1 introduces a deprecation warning.

See #24240
    https://github.com/haskell/filepath/pull/206
parent 91ff0971
No related branches found
No related tags found
No related merge requests found
......@@ -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" ] ] ]
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment