[commit: ghc] master: user-guide: Add since annotation for -Wcpp-undef (52fe138)

git at git.haskell.org git at git.haskell.org
Sat May 27 04:55:39 UTC 2017


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

On branch  : master
Link       : http://ghc.haskell.org/trac/ghc/changeset/52fe138ef7fb23554c7af996a0aa1f641082d275/ghc

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

commit 52fe138ef7fb23554c7af996a0aa1f641082d275
Author: Erik de Castro Lopo <erikd at mega-nerd.com>
Date:   Sat May 27 14:54:42 2017 +1000

    user-guide: Add since annotation for -Wcpp-undef
    
    Reviewers: hvr, bgamari, austin
    
    Reviewed By: hvr
    
    Subscribers: rwbarton, thomie
    
    Differential Revision: https://phabricator.haskell.org/D3612


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

52fe138ef7fb23554c7af996a0aa1f641082d275
 docs/users_guide/using-warnings.rst | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/docs/users_guide/using-warnings.rst b/docs/users_guide/using-warnings.rst
index 6a42f54..9bc1c35 100644
--- a/docs/users_guide/using-warnings.rst
+++ b/docs/users_guide/using-warnings.rst
@@ -1033,6 +1033,8 @@ of ``-W(no-)*``.
 
 .. ghc-flag:: -Wcpp-undef
 
+    :since: 8.2
+
     This flag passes ``-Wundef`` to the C pre-processor (if its being used)
     which causes the pre-processor to warn on uses of the `#if` directive on
     undefined identifiers.



More information about the ghc-commits mailing list