Regarding warnings

monarch_dodra monarchdodra at gmail.com
Sun Jun 30 00:05:39 PDT 2013


On Saturday, 29 June 2013 at 16:07:57 UTC, bearophile wrote:
> I suggest to remove the "-w" switch from the list of dmd/ldc2 
> switches, and later to remove that functionality too. It's 
> better to keep only the informational warnings.
>
> I keep seeing people in D.learn that miss warnings because they 
> don't active them, so I suggest to activate informational 
> warnings on default.
>
> And then I suggest to add a switch to disable the warnings, for 
> the rare situations where you don't want them.
>
> Bye,
> bearophile

Wouldn't it be better to "fix" "-w" in a way that is not:
"warnings are errors" but:
"compilation halts on first emitted warning" ?

This would fix the entire problem of "w" vs "wi", no?


More information about the Digitalmars-d mailing list