When I try and include X.h in another header (Y) I get 102 errors in X.h like:
rror C2061: syntax error : identifier 'UCHAR'
error C2146: syntax error : missing ';' before identifier 'colour'
error C2501: 'localVz' : missing storage-class or type specifiers
But I have already included this header in another one of my files. I tried including and defining the same things in the Y header but that seemed to do nothing.
Im sorry this is so vague but I have no idea why it wont let me include the header, and why would the errors be in X.h when I include it in a header like this
#ifndef CMOVEABLE
#define CMOVEABLE
#include "X.h"
class CMoveable : CObject4D {
public:
CMoveable() { }
Move();
};
#endif
Thanks
rror C2061: syntax error : identifier 'UCHAR'
error C2146: syntax error : missing ';' before identifier 'colour'
error C2501: 'localVz' : missing storage-class or type specifiers
But I have already included this header in another one of my files. I tried including and defining the same things in the Y header but that seemed to do nothing.
Im sorry this is so vague but I have no idea why it wont let me include the header, and why would the errors be in X.h when I include it in a header like this
#ifndef CMOVEABLE
#define CMOVEABLE
#include "X.h"
class CMoveable : CObject4D {
public:
CMoveable() { }
Move();
};
#endif
Thanks