Hello,
I have the below typedef statements in one of my header file.
//
// Type Definitions
//
typedef unsigned long DWORD;
typedef unsigned int UINT;
typedef unsigned short WORD;
typedef unsigned char BYTE;
typedef unsigned char UNCHAR;
typedef int BOOL;
typedef unsigned int UINT32;
typedef unsigned char UINT8;
typedef unsigned short UINT16;
I get an error
error C2143: syntax error : missing ';' before 'constant'
error C2059: syntax error : 'constant'
both point to the line "typedef unsigned short WORD;"
Also note the errore are listed twice.
Can somebody help me with this.
Thanks
I have the below typedef statements in one of my header file.
//
// Type Definitions
//
typedef unsigned long DWORD;
typedef unsigned int UINT;
typedef unsigned short WORD;
typedef unsigned char BYTE;
typedef unsigned char UNCHAR;
typedef int BOOL;
typedef unsigned int UINT32;
typedef unsigned char UINT8;
typedef unsigned short UINT16;
I get an error
error C2143: syntax error : missing ';' before 'constant'
error C2059: syntax error : 'constant'
both point to the line "typedef unsigned short WORD;"
Also note the errore are listed twice.
Can somebody help me with this.
Thanks
Comment