diff options
author | Tom Ellis <tom.ellis@microsoft.com> | 2020-01-24 17:55:43 +0000 |
---|---|---|
committer | tomjaguarpaw1 <tom-github.com@jaguarpaw.co.uk> | 2020-01-27 12:30:46 -0500 |
commit | acae02c1ae8fe5fdb9966abc019ae98a3b2e51c3 (patch) | |
tree | d8156040cb74638bac8aef9cba5f925a71f99a65 /hadrian | |
parent | 0188404ab096747f41fdf6c92fd1e312e5575dc6 (diff) | |
download | haskell-acae02c1ae8fe5fdb9966abc019ae98a3b2e51c3.tar.gz |
Add two warnings to Hadrian
Diffstat (limited to 'hadrian')
-rw-r--r-- | hadrian/src/Settings/Warnings.hs | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/hadrian/src/Settings/Warnings.hs b/hadrian/src/Settings/Warnings.hs index 29f9e3b968..5999822e71 100644 --- a/hadrian/src/Settings/Warnings.hs +++ b/hadrian/src/Settings/Warnings.hs @@ -31,7 +31,10 @@ ghcWarningsArgs = do , package bytestring ? pure [ "-Wno-inline-rule-shadowing" ] , package compiler ? pure [ "-Wcpp-undef" ] , package directory ? pure [ "-Wno-unused-imports" ] - , package ghc ? pure [ "-Wcpp-undef" ] + , package ghc ? pure [ "-Wcpp-undef" + , "-Wincomplete-uni-patterns" + , "-Wincomplete-record-updates" + ] , package ghcPrim ? pure [ "-Wno-trustworthy-safe" ] , package haddock ? pure [ "-Wno-unused-imports" , "-Wno-deprecations" ] |