G
Guest
Hi,
I am using VS2003 .NET.
I have a union in my files which is generated by YACC.
I am getting the following errors while linking using link.exe(Microsoft (R)
Incremental Linker Version 7.00.9466)
cfgy.o : error LNK2022: metadata operation failed (8013118D) : Inconsistent
layo
ut information in duplicated types (YYSTYPE): (0x02000031).
cfgy.o : error LNK2022: metadata operation failed (8013118D) : Inconsistent
layo
ut information in duplicated types ($ArrayType$0x726c2a0e): (0x02000033).
cfgl.o : error LNK2022: metadata operation failed (8013118D) : Inconsistent
layo
ut information in duplicated types (YYSTYPE): (0x02000017).
The union is defined as :
typedef union
{
char *str;
int num;
} YYSTYPE;
On the link line, i have another set of files which use a different parser
also generated by YACC. The union in this case is defined as :
typedef union {
char *string;
int num;
ovam_st_codespec *cs;
} YYSTYPE;
There are no errors wrt this second parser.
Please help.
regards
-sarab
I am using VS2003 .NET.
I have a union in my files which is generated by YACC.
I am getting the following errors while linking using link.exe(Microsoft (R)
Incremental Linker Version 7.00.9466)
cfgy.o : error LNK2022: metadata operation failed (8013118D) : Inconsistent
layo
ut information in duplicated types (YYSTYPE): (0x02000031).
cfgy.o : error LNK2022: metadata operation failed (8013118D) : Inconsistent
layo
ut information in duplicated types ($ArrayType$0x726c2a0e): (0x02000033).
cfgl.o : error LNK2022: metadata operation failed (8013118D) : Inconsistent
layo
ut information in duplicated types (YYSTYPE): (0x02000017).
The union is defined as :
typedef union
{
char *str;
int num;
} YYSTYPE;
On the link line, i have another set of files which use a different parser
also generated by YACC. The union in this case is defined as :
typedef union {
char *string;
int num;
ovam_st_codespec *cs;
} YYSTYPE;
There are no errors wrt this second parser.
Please help.
regards
-sarab