How DMD's -w *Prevents* Me From Seeing My Warnings

Nick Sabalausky a at a.a
Fri Feb 12 22:12:29 PST 2010


"Rainer Deyke" <rainerd at eldwood.com> wrote in message 
news:hl4p26$5rk$1 at digitalmars.com...
> Nick Sabalausky wrote:
>> 3. Now I have to go modify my build script and recompile just to get the
>> output files that DMD arbitrarily refused to give me before (and then go
>> edit my built script again to turn them back on). Which is not 
>> impossible,
>> but it's all for...what benefit exactly?
>
> Or modify your build script to always compile twice, once with warnings
> and once without.  It's ugly and stupid, but it's also simple to do and
> it works.

And it's needlessly slow, too. But yea, you're right on all counts, though.

>
>> I mean, even if there were a
>> legitimate reason for forcing any warnings to suppress output files (and 
>> I
>> very much dispute that there is), the fact I can get the same damn output
>> files anyway by shutting the warnings off and recompiling renders the 
>> whole
>> "feature" pointless. You may as well just write the output files anyway 
>> and
>> save people the bother of working around it.
>
> That would be ideal, of course.
>





More information about the Digitalmars-d mailing list