Opened 5 years ago

Closed 4 years ago

Last modified 3 years ago

#6050 closed bug (fixed)

Documentation for option -Wall and warning -fwarn-unrecognised-pragmas

Reported by: asr Owned by:
Priority: normal Milestone: 7.8.1
Component: Documentation Version: 7.6.3
Keywords: Cc:
Operating System: Unknown/Multiple Architecture: Unknown/Multiple
Type of failure: Documentation bug Test Case:
Blocked By: Blocking:
Related Tickets: Differential Rev(s):
Wiki Page:

Description

The documentation for option -Wall says that the warning -fwarn-unrecognised-pragmas is not enabled by this option. Because this warning is on by default, the documentation is not correct.

Change History (7)

comment:1 Changed 5 years ago by pcapriotti

difficulty: Unknown
Owner: set to pcapriotti

Thanks for the report.

I think we should follow what the doc says here and disable -fwarn-unrecognised-pragmas by default.

comment:2 Changed 5 years ago by p.capriotti@…

commit 44098b3dab032a83cc869855de67377f41d82384

Author: Paolo Capriotti <p.capriotti@gmail.com>
Date:   Fri Apr 27 09:40:40 2012 +0100

    Flags documentation: -fwarn-unrecognized-pragmas is enabled by -Wall (#6050)

 docs/users_guide/using.xml |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)

comment:3 Changed 5 years ago by pcapriotti

Resolution: fixed
Status: newclosed

The documentation for -fwarn-unrecognised-pragmas correctly reports that it is enabled by default, so I kept the current behavior and just fixed the inconsistency in the documentation.

Merged as dd20b2f3e1871cc71bfd9fe07aadf60e71c35905.

comment:4 Changed 5 years ago by pcapriotti

Milestone: 7.4.2
Type of failure: None/UnknownDocumentation bug

comment:5 Changed 4 years ago by asr

Milestone: 7.4.2_|_
Owner: pcapriotti deleted
Resolution: fixed
Status: closednew
Version: 7.4.17.6.3

The -fwarn-unrecognised-pragmas warning is not listed as a default warning in the beginning of http://www.haskell.org/ghc/docs/7.6.3/html/users_guide/options-sanity.html.

comment:6 Changed 4 years ago by igloo

Resolution: fixed
Status: newclosed

Thanks for the report; fixed by

commit 7cbce1d2e4f076b2e53bbec93cdbdcf7e541a505

Author: Ian Lynagh <ian@well-typed.com>
Date:   Sun Jul 21 19:43:40 2013 +0100

    Sync the list of default warnings with reality; fixes #8060.

comment:7 Changed 3 years ago by hvr

Milestone: 7.8.1
Note: See TracTickets for help on using tickets.