Opened 12 years ago

Closed 9 years ago

Last modified 9 years ago

#1666 closed bug (fixed)

-Werror aborts too early

Reported by: simonmar Owned by: simonmar
Priority: normal Milestone: 7.4.1
Component: Compiler Version: 6.6.1
Keywords: Cc:
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

When -Werror is on, we'd like to see all the warnings before the compilation aborts. At the moment, if a given stage of the compiler generates warnings (e.g. the renamer), we stop right there and don't go on to do further stages, even though we could. This isn't completely trivial to fix, we need to remember somewhere that warnings were generated earlier, or remember the warnings themselves.

Change History (10)

comment:1 Changed 11 years ago by simonmar

Architecture: UnknownUnknown/Multiple

comment:2 Changed 11 years ago by simonmar

Operating System: UnknownUnknown/Multiple

comment:3 Changed 11 years ago by igloo

Milestone: 6.10 branch6.12 branch

comment:4 Changed 10 years ago by simonmar

difficulty: Easy (1 hr)Easy (less than 1 hour)

comment:5 Changed 10 years ago by igloo

Milestone: 6.12 branch6.12.3

comment:6 Changed 10 years ago by igloo

Milestone: 6.12.36.14.1
Priority: lownormal
Type of failure: None/Unknown

Recent changes might make this easier to do.

comment:7 Changed 10 years ago by igloo

See also #2548

comment:8 Changed 9 years ago by simonmar

Owner: set to simonmar

comment:9 Changed 9 years ago by simonmar

Resolution: fixed
Status: newclosed

Done:

Wed Oct 27 05:11:32 PDT 2010  Simon Marlow <marlowsd@gmail.com>
  * Refactoring and tidyup of HscMain and related things (also fix #1666)

comment:10 Changed 9 years ago by simonmar

Milestone: 7.0.17.2.1

Not to be merged, so milestoning for 7.2.

Note: See TracTickets for help on using tickets.