user-guide: Add since annotation for -Wcpp-undef
authorErik de Castro Lopo <erikd@mega-nerd.com>
Sat, 27 May 2017 04:54:42 +0000 (14:54 +1000)
committerErik de Castro Lopo <erikd@mega-nerd.com>
Sat, 27 May 2017 04:54:43 +0000 (14:54 +1000)
Reviewers: hvr, bgamari, austin

Reviewed By: hvr

Subscribers: rwbarton, thomie

Differential Revision: https://phabricator.haskell.org/D3612

docs/users_guide/using-warnings.rst

index 6a42f54..9bc1c35 100644 (file)
@@ -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.