www.digitalmars.com         C & C++   DMDScript  

c++ - Already defined not (always) working

In my definition file I have this:

static char xw2,xw3,xw4,xw5;

And 300 lines further:

static char xw2;

The compiler does not recognize the double, no error is reported.

The questions:

1) Which of the two "xw2" variables is used by the compiler, the
first or the second? It's important to know for me because I
sometimes redefine char's as 32-bit int's.

2) Is there a tool (way) to hunt for double used variable names? A
cross reference comes to mind.

Thx in advance,

Ed
Jul 16 2007