Recommendation: Compile DMD with More Warnings

"Nordlöw" per.nordlow at gmail.com
Sun Apr 6 12:32:29 PDT 2014


On Sunday, 6 April 2014 at 17:39:38 UTC, bearophile wrote:
> Orvid King:
>
>> On the topic of actual warnings, I would be careful with them, 
>> because compiling DMD with MSVC with the maximum warning level 
>> (essentially -Wall), it produces 150k lines of output, most of 
>> them about stuff being inlined, and quite a bit of other stuff 
>> that you quite simply, don't care about.
>
> I'd like dmd/ldc2 compilers to compile with warnings active on 
> default, plus to have a switch to disable them.
>
> Bye,
> bearophile

Could you give me a priority list of the typical warning types 
sorted an descending severity?

/Per


More information about the Digitalmars-d mailing list