Regarding warnings

w0rp devw0rp at gmail.com
Sat Jun 29 12:16:33 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

This might increase knowledge like you say. Plus, you'd have 
warnings about stuff like implicit switch case fall-through as 
the default. I think this idea sounds okay.


More information about the Digitalmars-d mailing list