diff options
author | Thomas Miedema <thomasmiedema@gmail.com> | 2015-10-22 17:50:03 +0200 |
---|---|---|
committer | Thomas Miedema <thomasmiedema@gmail.com> | 2015-12-17 21:18:59 +0100 |
commit | f1fa3839047925c75278f0a83835478e3aa437da (patch) | |
tree | c9428608b631b3bb1e87dec8bcee1e1ef5f8512a /mk | |
parent | 116ba5e702916a938ab72970437efa5fd26287b7 (diff) | |
download | haskell-f1fa3839047925c75278f0a83835478e3aa437da.tar.gz |
Suppress warnings when compiling primitive and random
And fix a redundant constraint warning in a test that requires
primitive.
Diffstat (limited to 'mk')
-rw-r--r-- | mk/warnings.mk | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/mk/warnings.mk b/mk/warnings.mk index 7efcf08b07..9107abcb87 100644 --- a/mk/warnings.mk +++ b/mk/warnings.mk @@ -79,6 +79,11 @@ libraries/pretty_dist-install_EXTRA_HC_OPTS += -Wno-unused-imports # primitive has a warning about deprecated use of GHC.IOBase libraries/primitive_dist-install_EXTRA_HC_OPTS += -Wno-unused-imports +# primitive uses deprecated Control.Monad.Trans.Error +libraries/primitive_dist-install_EXTRA_HC_OPTS += -Wno-deprecations + +# See https://github.com/haskell/random/pull/20 +libraries/random_dist-install_EXTRA_HC_OPTS += -Wno-redundant-constraints # temporarily turn off unused-imports warnings for terminfo libraries/terminfo_dist-boot_EXTRA_HC_OPTS += -fno-warn-unused-imports |