summaryrefslogtreecommitdiff
path: root/docs/backpack/algorithm.tex
diff options
context:
space:
mode:
authorHerbert Valerio Riedel <hvr@gnu.org>2016-02-01 14:32:30 +0100
committerBen Gamari <ben@smart-cactus.org>2016-02-01 14:32:35 +0100
commit86897e1fe23cb26fa2278e86542b34c33301606a (patch)
tree95a00e7174c3c6901b703da436692f79235b80cb /docs/backpack/algorithm.tex
parent94048f9fb01c541215cfc9cc215af83566b63236 (diff)
downloadhaskell-86897e1fe23cb26fa2278e86542b34c33301606a.tar.gz
Implement basic uniform warning set tower
This implements/completes the current basic warning sets to provide the following tower of warning sets (i.e. each line subsumes the warnings from the sets listed below): - `-Weverything` - `-Wall` - `-Wextra` (alias of `-W`) - `-Wdefault` So for each of flags there's also a complement `-Wno-...` flag, which subtracts the given set from the current enabled-warnings state. Thus, we can now easily perform simple set subtraction operations, as warning flags are evaluated from left-to-right on the command line. So e.g. - `-Weverything -Wno-all -Wno-compat` enables *all* warnings not enabled by `-Wall` and `-Wcompat`. - `-Wextra -Wno-default` only warnings that `-Wextra` provides beyond the default warnings. Reviewers: quchen, austin, bgamari Reviewed By: bgamari Subscribers: thomie Differential Revision: https://phabricator.haskell.org/D1850
Diffstat (limited to 'docs/backpack/algorithm.tex')
0 files changed, 0 insertions, 0 deletions