Changes between Version 22 and Version 23 of Design/Warnings


Ignore:
Timestamp:
Feb 28, 2016 8:54:04 PM (3 years ago)
Author:
hvr
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Design/Warnings

    v22 v23  
    3232 - (#11451) Split off `-Wunused-foralls` and `-Wunused-type-patterns` from `-Wunused-matches`. Make `-Wall` imply `-Wunused-foralls` and `-Wunused-type-patterns`, but ''not'' imply `-Wunused-type-patterns`
    3333
    34 **Proposed for GHC 8.0:**
     34**~~Proposed~~also implemented for GHC 8.0:**
    3535
    3636 - (phab:D1850) Introduce some new warning sets, e.g.
     
    3939    - Define set `-Wextra` (modulo bikeshed, maybe `-Wnormal`?) as synonym for `-W`, together with its negation `-Wno-extra`
    4040    - (#11000) Define set `-Wcompat` to denote all warnings about future compatility GHC //currently// knows about (like e.g. `-Wcompat-amp`, `-Wcompat-mfp`, `-Wcompat-mrp`)  In addition, have `ghc` provide a way to dump the current warning-sets (in a format that's parseable by humans and machines)
    41 
    42 **Anytime someone is motivated**
    43 
    44  - (#11219) Introduce variant of `-Werror` (c.f. GCC's `-Werror=*`) which allows to specify the individual warnings to be promoted to errors, e.g.
    45      - `-Wall -Werror=orphans` would only promote `-Worphans` warnings into errors
    46      - `-Wall -Werror -Wno-error=missing-methods` would promote all warnings //except// `-Wmissing-methods` into errors
    4741
    4842 - (#10752) When emitting warnings/errors, show which warning flag was responsible,
     
    5448   making it easier to silence specific warnings via e.g. `-Wno-missing-signatures`
    5549
    56  - Introduce `-Wpedantic` (this is subsumed by `-Weverything` already?), which turns on warnings that `-Wall` doesn't turn on (e.g., `-Wredundant-constraints` and `-Wunused-type-patterns`)
     50**Anytime someone is motivated**
     51
     52 - (#11219) Introduce variant of `-Werror` (c.f. GCC's `-Werror=*`) which allows to specify the individual warnings to be promoted to errors, e.g.
     53     - `-Wall -Werror=orphans` would only promote `-Worphans` warnings into errors
     54     - `-Wall -Werror -Wno-error=missing-methods` would promote all warnings //except// `-Wmissing-methods` into errors
     55
     56
     57 -  (this is subsumed by `-Weverything` now)~~Introduce `-Wpedantic`, which turns on warnings that `-Wall` doesn't turn on (e.g., `-Wredundant-constraints` and `-Wunused-type-patterns`)~~
    5758
    5859