Wish: Variable Not Used Warning

Walter Bright newshound1 at digitalmars.com
Sun Jul 6 02:07:55 PDT 2008


Robert Fraser wrote:
> The compiler already has full semantic knowledge of the code, and at 
> least some of the warnings seem like "low-hanging fruit" so why not make 
> the compiler act as a "mini-lint"?

Generally for the reasons already mentioned.

Warnings are properly in the scope of static analysis tools, which have 
a different purpose than a compiler.



More information about the Digitalmars-d mailing list