diff options
author | Alexander Eyers-Taylor <aeyerstaylor11@gmail.com> | 2015-05-19 01:22:27 -0500 |
---|---|---|
committer | Austin Seipp <austin@well-typed.com> | 2015-05-19 03:17:40 -0500 |
commit | 6d5387f6f1f86c5a622df0de76f0b909ce1c1a7d (patch) | |
tree | 166495db702cd3e411b437c2d231ff1c4d883cc8 | |
parent | 072abebbccbe87f153ae3e8593388d07d169cd09 (diff) | |
download | haskell-6d5387f6f1f86c5a622df0de76f0b909ce1c1a7d.tar.gz |
user guide: correct documentation for -Wall (fixes #10386)
This fixes the documentation for -Wall.
As was done previously it leaves out deprecated flags and also
fwarn-safe and fwarn-unsafe. I don't know
if that was intended or not. -fwarn-safe and fwarn-unsafe are
not mentioned on the warnings page at all instead they are
mentioned in the safe haskell section.
Reviewed By: austin
Differential Revision: https://phabricator.haskell.org/D889
GHC Trac Issues: #10386
(cherry picked from commit 5cbac8866e1cf1f5a015e318bf298954b7bf6417)
-rw-r--r-- | docs/users_guide/using.xml | 17 |
1 files changed, 9 insertions, 8 deletions
diff --git a/docs/users_guide/using.xml b/docs/users_guide/using.xml index 50da497f6c..98c17fcff5 100644 --- a/docs/users_guide/using.xml +++ b/docs/users_guide/using.xml @@ -1078,14 +1078,15 @@ test.hs:(5,4)-(6,7): suspicious code. The warnings that are <emphasis>not</emphasis> enabled by <option>-Wall</option> are - <option>-fwarn-type-defaults</option>, - <option>-fwarn-name-shadowing</option>, - <option>-fwarn-missing-signatures</option>, - <option>-fwarn-warn-hi-shadowing</option>, - <option>-fwarn-orphans</option>, - <option>-fwarn-unused-do-bind</option>, and - <option>-fwarn-trustworthy-safe</option>, - <option>-fwarn-unticked-promoted-constructors</option>.</para> + <option>-fwarn-incomplete-uni-patterns</option>, + <option>-fwarn-incomplete-record-updates</option>, + <option>-fwarn-monomorphism-restriction</option>, + <option>-fwarn-auto-orphans</option>, + <option>-fwarn-implicit-prelude</option>, + <option>-fwarn-missing-local-sigs</option>, + <option>-fwarn-missing-exported-sigs</option>, + <option>-fwarn-missing-import-lists</option> and + <option>-fwarn-identities</option>.</para> </listitem> </varlistentry> |