Are there any syntax errors in the code snippet here?
- by Mask
typedef union YYSTYPE {
int64_t iConst; // constant value
float fConst; // constant value
int iAttrLocator; // attribute locator (rowitem for int/float; offset+size for bits)
int iFunc; // function id
int iNode; // node index
} YYSTYPE;
It looks valid to me,but the cdt reports the following for the line int64_t iConst;:
Multiple markers at this line:
- syntax error before "int64_t"
- no semicolon at the end of structure or union
There are two files that defines int64_t,one is within the project itself(sphinxstd.h),the other is the MinGW/include/stdint.h,is it caused by this conflict?