[Issue 10147] Make -w identical to -wi and deprecate it

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sat Jun 29 17:28:15 PDT 2013


http://d.puremagic.com/issues/show_bug.cgi?id=10147



--- Comment #9 from Andrej Mitrovic <andrej.mitrovich at gmail.com> 2013-06-29 17:28:14 PDT ---
(In reply to comment #8)
> - On the other hand Andrej Mitrovic (and probably others, now or in future)
> want a switch like in GCC that halts the compilation at the first warning. I
> think this is not a common need, but it exists. I don't know how to make this
> work considering the problems of the "-w" switch.

Hmm thinking about this some more I think the only reason I've ever needed -w
was because of issues like missing default switch and switch case fall-through
(and perhaps missing override keyword), which IIRC used to be warnings but are
now finally deprecated behavior.

Some warnings in DMD should have been errors from the get-go. I don't think
many (if any?) warnings are left that should be errors, and this was the only
reason why I needed -w.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------


More information about the Digitalmars-d-bugs mailing list