请问这个编译错误如何解决?
typedef struct _seqof1 {
struct _seqof1 *next;
HS_SCCH_Codes value;
} *_seqof1;
编译出的错误
D:\gcctest\include>gcc abc.c
In file included from abc.c:27:
abc.h:595: error: conflicting declaration 'typedef struct _seqof1*_seqof1'
abc.h:592: error: 'struct _seqof1' has a previous declaration as `struct _seqof1
我分析了下,似乎它是使用了C++编译器,有什么办法使得它能够对这个.h文件使用C编译器呢?如果使用C编译器,应该不会报这种错的啊。
'