This seems like what could be a common cause of bugs
Steven Schveighoffer
schveiguy at yahoo.com
Tue Jul 12 06:04:20 PDT 2011
On Mon, 11 Jul 2011 16:46:07 -0400, Nick Sabalausky <a at a.a> wrote:
> "Steven Schveighoffer" <schveiguy at yahoo.com> wrote in message
>>
>> Hm... I didn't know about that switch, I thought warnings were enabled
>> with -w and that made them errors.
>>
>> I suppose you could stick this in there.
>>
>
> -wi: Enable warnings
> -w: Enable warnings and treat them as errors
>
> Didn't used to have -wi, but I bugged the hell out of Walter about it. ;)
>
> The --help screen describes -w and -wi differently than above, but the
> above
> is more accurate.
Yes, but this is getting into territory where the false positive rate
might get high. I don't think it should be an error under -w. So that
means -wi and -w would cover different sets of warnings.
-Steve
More information about the Digitalmars-d-learn
mailing list