Regarding warnings

John Colvin john.loughran.colvin at gmail.com
Sat Jun 29 13:48:41 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

I've been using D heavily for well over a year now and I've never 
used -w (facepalm)
That's good anecdotal evidence that it should be opt-out not 
opt-in.

Brb... Recompiling all my code with -w to find out my stupid 
mistakes :p


More information about the Digitalmars-d mailing list