Implement -Wunrecognised-warning-flag
authorBen Gamari <bgamari.foss@gmail.com>
Mon, 25 Jan 2016 16:14:49 +0000 (17:14 +0100)
committerBen Gamari <ben@smart-cactus.org>
Mon, 25 Jan 2016 16:14:50 +0000 (17:14 +0100)
commitf0f63b39783055b2c0c1a8db8c22749afa6d7329
tree7e857b70f06115f8b19ff009eab09ed19e8aab0f
parent128b678061120270d3d4fe3eccd1b7dc76a8de35
Implement -Wunrecognised-warning-flag

This allows the user to avoid warnings for warning flags that GHC
doesn't recognise. See #11429 for details..

Test Plan: Validate with T11429[abc] tests

Reviewers: austin, hvr

Reviewed By: hvr

Subscribers: thomie

Differential Revision: https://phabricator.haskell.org/D1830

GHC Trac Issues: #11429
compiler/main/DynFlags.hs
docs/users_guide/using-warnings.rst
testsuite/tests/driver/T11429a.hs [new file with mode: 0644]
testsuite/tests/driver/T11429a.stderr [new file with mode: 0644]
testsuite/tests/driver/T11429b.hs [new file with mode: 0644]
testsuite/tests/driver/T11429c.hs [new file with mode: 0644]
testsuite/tests/driver/T11429c.stderr [new file with mode: 0644]
testsuite/tests/driver/all.T
utils/mkUserGuidePart/Options/Warnings.hs