>>One change I had to make was with BaseClass.c - several lines with Depth++;
>>had to be changed to ;Depth++;
>
> ??
> I see those lines, but I have no idea why replacing
> Depth++;
> by
> ;Depth++;
> seems to fix any problem
Neither do I...
> - I can't see a problem ...
I did some digging and found that Depth is a structure defined in Xlib.h:
/*
* Depth structure; contains information for each possible depth.
*/
typedef struct {
int depth; /* this depth (Z) of the depth */
int nvisuals; /* number of Visual types at this depth */
Visual *visuals; /* list of visuals possible at this depth */
} Depth;
It clearly does not make sense to use Depth as an int in light of this...
Still, don't understand the ;Depth++; , though!
Thoughts?
Adrian Umpleby