Ticket #1893 (closed bug: fixed)

Opened 6 years ago

Last modified 5 years ago

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: Difficulty: Unknown
Test Case: Blocked By:
Blocking: Related Tickets:

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

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

Change History

Changed 5 years ago by dfranke

Changed 5 years ago by dfranke

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

Changed 5 years ago by dfranke

  • cc df@… added
  • owner set to igloo

Changed 5 years ago by tim

  • cc chevalier@… added

Changed 5 years ago by igloo

  • status changed from new to closed
  • resolution set to fixed

Fixed in HEAD and 6.8 branch.

Changed 5 years ago by simonmar

  • architecture changed from Unknown to Unknown/Multiple

Changed 5 years ago by simonmar

  • os changed from Unknown to Unknown/Multiple
Note: See TracTickets for help on using tickets.