[commit: ghc] master: user guide: correct documentation for -Wall (fixes #10386) (5cbac88)

git at git.haskell.org git at git.haskell.org
Tue May 19 06:26:39 UTC 2015


Repository : ssh://git@git.haskell.org/ghc

On branch  : master
Link       : http://ghc.haskell.org/trac/ghc/changeset/5cbac8866e1cf1f5a015e318bf298954b7bf6417/ghc

>---------------------------------------------------------------

commit 5cbac8866e1cf1f5a015e318bf298954b7bf6417
Author: Alexander Eyers-Taylor <aeyerstaylor11 at gmail.com>
Date:   Tue May 19 01:22:27 2015 -0500

    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


>---------------------------------------------------------------

5cbac8866e1cf1f5a015e318bf298954b7bf6417
 docs/users_guide/using.xml | 17 +++++++++--------
 1 file changed, 9 insertions(+), 8 deletions(-)

diff --git a/docs/users_guide/using.xml b/docs/users_guide/using.xml
index 2ac51f6..ec44a50 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>
 



More information about the ghc-commits mailing list