[commit: ghc] ghc-7.10: user guide: correct documentation for -Wall (fixes #10386) (6d5387f)

git at git.haskell.org git at git.haskell.org
Tue May 19 09:21:49 UTC 2015


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

On branch  : ghc-7.10
Link       : http://ghc.haskell.org/trac/ghc/changeset/6d5387f6f1f86c5a622df0de76f0b909ce1c1a7d/ghc

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

commit 6d5387f6f1f86c5a622df0de76f0b909ce1c1a7d
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
    
    (cherry picked from commit 5cbac8866e1cf1f5a015e318bf298954b7bf6417)


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

6d5387f6f1f86c5a622df0de76f0b909ce1c1a7d
 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 50da497..98c17fc 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>
 



More information about the ghc-commits mailing list