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 01:25:08 -0500 |
commit | 5cbac8866e1cf1f5a015e318bf298954b7bf6417 (patch) | |
tree | d2e25e7936559792ad2f0991a14190089181b2c0 | |
parent | 85bf9e49f5ab4e0681eeda2549dbd4b5faf3ef7f (diff) | |
download | haskell-5cbac8866e1cf1f5a015e318bf298954b7bf6417.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
-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 2ac51f6ceb..ec44a502b4 100644 --- a/docs/users_guide/using.xml +++ b/docs/users_guide/using.xml @@ -1088,14 +1088,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> |