[commit: ghc] ghc-8.0: users-guide/relnotes: Document -Weverything and -Wdefault (0e11297)

git at git.haskell.org git at git.haskell.org
Tue May 10 13:05:09 UTC 2016


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

On branch  : ghc-8.0
Link       : http://ghc.haskell.org/trac/ghc/changeset/0e11297ec1b125eafa22368e4a4449f48569db9b/ghc

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

commit 0e11297ec1b125eafa22368e4a4449f48569db9b
Author: Ben Gamari <ben at smart-cactus.org>
Date:   Sat May 7 09:29:41 2016 +0200

    users-guide/relnotes: Document -Weverything and -Wdefault


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

0e11297ec1b125eafa22368e4a4449f48569db9b
 docs/users_guide/8.0.1-notes.rst | 10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/docs/users_guide/8.0.1-notes.rst b/docs/users_guide/8.0.1-notes.rst
index 4ab5b20..35da123 100644
--- a/docs/users_guide/8.0.1-notes.rst
+++ b/docs/users_guide/8.0.1-notes.rst
@@ -297,6 +297,16 @@ Compiler
 -  When printing an out-of-scope error message, GHC will give helpful advice if
    the error might be caused by too restrictive imports.
 
+-  Added the :ghc-flag:`-Weverything` warning group, along with its opposite
+   :ghc-flag:`-Wno-everything`. This group includes all warnings supported by
+   GHC. This is in contrast to `-Wall` which excludes some stylistic or
+   otherwise controversial warnings.
+
+-  Added the :ghc-flag:`-Wdefault` warning group, along with its opposite
+   :ghc-flag:`-Wno-default`. This group is defined to be the set of warnings
+   which ``ghc`` enables by default (e.g. when no additional ``-W`` flags are
+   used).
+
 -  Added the :ghc-flag:`-Wcompat` warning group, along with its opposite
    :ghc-flag:`-Wno-compat`. Turns on warnings that will be enabled by default in the
    future, but remain off in normal compilations for the time being. This



More information about the ghc-commits mailing list