diff options
author | David Luposchainsky <dluposchainsky@gmail.com> | 2015-12-16 11:42:00 +0100 |
---|---|---|
committer | Herbert Valerio Riedel <hvr@gnu.org> | 2015-12-16 12:31:35 +0100 |
commit | 2206fa8cdb1209320f3690690b610320b4810de6 (patch) | |
tree | 6b2ffe50753ed62035716f6fba9e0d0a4ff51b26 /testsuite/tests/ghci/scripts/Makefile | |
parent | 3a48e6ef80e4bf3d84814316cace259147f67df2 (diff) | |
download | haskell-2206fa8cdb1209320f3690690b610320b4810de6.tar.gz |
Add `-W(no-)xxx` aliases for `-f(no-)warn-xxx` flags
This also updates the user's guide to refer to the `-W`-based warning
flags by default.
Quoting the release note entry:
| Warnings can now be controlled with `-W(no-)...` flags in addition to
| the old `-f(no-)warn...` ones. This was done as the first part of a
| rewrite of the warning system to provide better control over warnings,
| better warning messages, and more common syntax compared to other
| compilers. The old `-fwarn...`-based warning flags will remain
| functional for the forseeable future.
This is part of
https://ghc.haskell.org/wiki/Design/Warnings
and addresses #11218
Reviewed By: hvr, bgamari
Differential Revision: https://phabricator.haskell.org/D1613
Diffstat (limited to 'testsuite/tests/ghci/scripts/Makefile')
-rw-r--r-- | testsuite/tests/ghci/scripts/Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/testsuite/tests/ghci/scripts/Makefile b/testsuite/tests/ghci/scripts/Makefile index 730927b5f2..017555b78b 100644 --- a/testsuite/tests/ghci/scripts/Makefile +++ b/testsuite/tests/ghci/scripts/Makefile @@ -9,7 +9,7 @@ ghci024: @echo "~~~~~~~~~~ Testing :set -a" printf ":set -a\n" \ | '$(TEST_HC)' $(TEST_HC_OPTS) --interactive -v0 -ignore-dot-ghci \ - | grep -E "^([^ ]| -fno-print-explicit-foralls| -fno-warn-implicit-prelude)" + | grep -E "^([^ ]| -fno-print-explicit-foralls| -Wno-implicit-prelude)" @echo "~~~~~~~~~~ Testing :show languages" printf ":show languages\n" \ | '$(TEST_HC)' $(TEST_HC_OPTS) --interactive -v0 -ignore-dot-ghci |