Skip to content

Commit 2c1e577

Browse files
ulysses4evergeekosaur
authored andcommitted
GHC 9.14 compat: -Wno-pattern-namespace-specifier, -Wno-incomplete-record-selectors
1 parent 632e284 commit 2c1e577

File tree

3 files changed

+7
-0
lines changed

3 files changed

+7
-0
lines changed

Cabal/Cabal.cabal

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,9 @@ library
7777
if impl(ghc >= 8.0) && impl(ghc < 8.8)
7878
ghc-options: -Wnoncanonical-monadfail-instances
7979

80+
if impl(ghc >= 9.14)
81+
ghc-options: -Wno-pattern-namespace-specifier -Wno-incomplete-record-selectors
82+
8083
exposed-modules:
8184
Distribution.Backpack.Configure
8285
Distribution.Backpack.ComponentsGraph

cabal-install/cabal-install.cabal

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,9 @@ common warnings
6161
if impl(ghc < 8.8)
6262
ghc-options: -Wnoncanonical-monadfail-instances
6363

64+
if impl(ghc >= 9.14)
65+
ghc-options: -Wno-pattern-namespace-specifier -Wno-incomplete-record-selectors
66+
6467
common base-dep
6568
build-depends:
6669
, base >=4.13 && <4.22

project-cabal/ghc-options.config

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,3 +9,4 @@ if impl(ghc >= 9)
99
ghc-options: -Wunused-packages
1010
package cabal-testsuite
1111
ghc-options: -Wwarn=unused-packages
12+

0 commit comments

Comments
 (0)