diff options
author | Erik de Castro Lopo <erikd@mega-nerd.com> | 2017-05-27 14:54:42 +1000 |
---|---|---|
committer | Erik de Castro Lopo <erikd@mega-nerd.com> | 2017-05-27 14:54:43 +1000 |
commit | 52fe138ef7fb23554c7af996a0aa1f641082d275 (patch) | |
tree | cc12170749ed2987ce3c1e98eaf5531e08d7b545 | |
parent | 27f6f388ef1a3cd694008150fe513e3e7be2e6ad (diff) | |
download | haskell-52fe138ef7fb23554c7af996a0aa1f641082d275.tar.gz |
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
-rw-r--r-- | docs/users_guide/using-warnings.rst | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/docs/users_guide/using-warnings.rst b/docs/users_guide/using-warnings.rst index 6a42f548d4..9bc1c35590 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. |