Summary: | [batch][compiler] Add -warn:all to report all warnings | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | [Eclipse Project] JDT | Reporter: | Olivier Thomann <Olivier_Thomann> | ||||||
Component: | Core | Assignee: | Olivier Thomann <Olivier_Thomann> | ||||||
Status: | VERIFIED FIXED | QA Contact: | |||||||
Severity: | enhancement | ||||||||
Priority: | P3 | CC: | amj87.iitr, philippe_mulet | ||||||
Version: | 3.3 | ||||||||
Target Milestone: | 3.8 M3 | ||||||||
Hardware: | PC | ||||||||
OS: | Windows XP | ||||||||
Whiteboard: | |||||||||
Attachments: |
|
Description
Olivier Thomann
2006-10-16 15:52:17 EDT
Created attachment 201731 [details]
Proposed fix
This doesn't support the case where you do:
-warn:all,-unused
which would trigger all warnings except for the unused warnings.
It only supports -warn:all which triggers all warnings. Any usage of -warn:.... afterwards would reset the warnings to the default level.
Created attachment 201734 [details]
Proposed fix
More complete patch. It supports the usage of '+' and '-' inside multiple warning tokens, but it stills support multiple warning options on the command line.
This is useful when testing warnings in the compiler. Fixed for 3.8M3. Commit f363db69d77a20757ac0ea9e878cf9c696cd79df Verified using build N20111022-2000. |