Opened 9 years ago

Closed 9 years ago

Last modified 8 years ago

#1893 closed bug (fixed)

ghc should say when it is failing due to -Werror

Reported by: igloo Owned by: igloo
Priority: normal Milestone: 6.8 branch
Component: Compiler Version: 6.8.1
Keywords: Cc: df@…, chevalier@…
Operating System: Unknown/Multiple Architecture: Unknown/Multiple
Type of failure: None/Unknown Test Case:
Blocked By: Blocking:
Related Tickets: Differential Rev(s):
Wiki Page:

Description

If we fail due to warnings and -Werror, we should tell the user that we are doing so. Currently it can be very confusing if -Werror is given in a Cabal file or an OPTIONS pragma. Compilation fails but with no error printed.

Attachments (2)

fix1893 (103.5 KB) - added by dfranke 9 years ago.
testsuite1893 (114.7 KB) - added by dfranke 9 years ago.
Update the expected output for a test case that fails from -Werror

Download all attachments as: .zip

Change History (7)

Changed 9 years ago by dfranke

Attachment: fix1893 added

Changed 9 years ago by dfranke

Attachment: testsuite1893 added

Update the expected output for a test case that fails from -Werror

comment:1 Changed 9 years ago by dfranke

Cc: df@… added
Owner: set to igloo

comment:2 Changed 9 years ago by tim

Cc: chevalier@… added

comment:3 Changed 9 years ago by igloo

Resolution: fixed
Status: newclosed

Fixed in HEAD and 6.8 branch.

comment:4 Changed 8 years ago by simonmar

Architecture: UnknownUnknown/Multiple

comment:5 Changed 8 years ago by simonmar

Operating System: UnknownUnknown/Multiple
Note: See TracTickets for help on using tickets.