Missing compiler warning?

Ali Çehreli acehreli at yahoo.com
Fri Oct 18 12:00:17 PDT 2013


On 10/18/2013 10:42 AM, Jonathan M Davis wrote:

 > If you want to avoid the problem, then just don't name your local 
variables
 > the same as your member variables

Like OP, when I was bitten by this before, I had not intended to define 
a local variable. It is too easy for the fingers to drop an 
unintentional 'auto' in there, and the meaning becomes defining a local 
variable.

Ali



More information about the Digitalmars-d mailing list