www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.learn - Lack of warning messages

reply "IK" <istvan.karolyi rocketmail.com> writes:
Even if I use the -w and -wi flags I don't get warnings for 
unused variables.
How to enable extra warnings?
Jun 21 2012
next sibling parent simendsjo <simendsjo gmail.com> writes:
On Thu, 21 Jun 2012 16:25:45 +0200, IK <istvan.karolyi rocketmail.com>  
wrote:

 Even if I use the -w and -wi flags I don't get warnings for unused  
 variables.
 How to enable extra warnings?
You don't get more warnings than -w unfortunately.
Jun 21 2012
prev sibling parent reply "bearophile" <bearophileHUGS lycos.com> writes:
IK:
 Even if I use the -w and -wi flags I don't get warnings for 
 unused variables.
 How to enable extra warnings?
Please vote :-) http://d.puremagic.com/issues/show_bug.cgi?id=3960 http://d.puremagic.com/issues/show_bug.cgi?id=4694 http://d.puremagic.com/issues/show_bug.cgi?id=6449 Asking again in the main D newsgroup is optional. Bye, bearophile
Jun 21 2012
parent reply "Namespace" <rswhite4 googlemail.com> writes:
A notice for some unused imports would be great too...
Jun 21 2012
parent Trass3r <un known.com> writes:
 A notice for some unused imports would be great too...
You could create a brute-force tool. Rip off an import statement at a time and see if it still compiles. One could probably modify DustMite to do that.
Jun 21 2012