Make -w less aggressive (Trac #12056)
authorSean Gillespie <sean@mistersg.net>
Mon, 12 Jun 2017 21:04:05 +0000 (17:04 -0400)
committerBen Gamari <ben@smart-cactus.org>
Mon, 12 Jun 2017 21:04:06 +0000 (17:04 -0400)
commitaf9612bf862daaa99384eefa3059054053ecbee8
tree73c84293f84ce6b4802728e68ddb2ce983a82bd3
parent2088d0be17dccfa91a4759bdbb20faae77c8dbed
Make -w less aggressive (Trac #12056)

Previously -w combined with -Wunrecognised-warning-flags would not
report unrecognized flags.

Reviewers: austin, bgamari, dfeuer

Reviewed By: bgamari

Subscribers: dfeuer, rwbarton, thomie

GHC Trac Issues: #12056

Differential Revision: https://phabricator.haskell.org/D3581
14 files changed:
compiler/main/CmdLineParser.hs
compiler/main/DynFlags.hs
compiler/main/GHC.hs
compiler/main/HscTypes.hs
ghc/Main.hs
testsuite/tests/driver/T12056a.hs [new file with mode: 0644]
testsuite/tests/driver/T12056a.stderr [new file with mode: 0644]
testsuite/tests/driver/T12056b.hs [new file with mode: 0644]
testsuite/tests/driver/T12056b.stderr [new file with mode: 0644]
testsuite/tests/driver/T12056c.hs [new file with mode: 0644]
testsuite/tests/driver/T12056c.stderr [new file with mode: 0644]
testsuite/tests/driver/all.T
testsuite/tests/safeHaskell/check/pkg01/Makefile
utils/ghctags/Main.hs