[commit: ghc] master: user-guide: Document -Weverything (9c05fc4)
git at git.haskell.org
git at git.haskell.org
Sat Sep 30 15:17:25 UTC 2017
Repository : ssh://git@git.haskell.org/ghc
On branch : master
Link : http://ghc.haskell.org/trac/ghc/changeset/9c05fc4c31edde34a68317b45fdd71510d868f60/ghc
>---------------------------------------------------------------
commit 9c05fc4c31edde34a68317b45fdd71510d868f60
Author: Ben Gamari <bgamari.foss at gmail.com>
Date: Fri Sep 29 23:29:47 2017 -0400
user-guide: Document -Weverything
[skip ci]
Reviewers: hvr, austin, dfeuer
Reviewed By: dfeuer
Subscribers: rwbarton, thomie
GHC Trac Issues: #14284
Differential Revision: https://phabricator.haskell.org/D4043
>---------------------------------------------------------------
9c05fc4c31edde34a68317b45fdd71510d868f60
docs/users_guide/using-warnings.rst | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/docs/users_guide/using-warnings.rst b/docs/users_guide/using-warnings.rst
index 39d7de4..15b6301 100644
--- a/docs/users_guide/using-warnings.rst
+++ b/docs/users_guide/using-warnings.rst
@@ -79,6 +79,13 @@ The following flags are simple ways to select standard "packages" of warnings:
* :ghc-flag:`-Widentities`
* :ghc-flag:`-Wredundant-constraints`
+.. ghc-flag:: -Weverything
+ :shortdesc: enable all warnings supported by GHC
+ :type: dynamic
+ :category:
+
+ Turns on every single warning supported by the compiler.
+
.. ghc-flag:: -Wcompat
:shortdesc: enable future compatibility warnings
(details in :ref:`options-sanity`)
More information about the ghc-commits
mailing list