当前位置: 技术问答>linux和unix
编译gcc2.6.3时,sys_siglist[]的问题
来源: 互联网 发布时间:2016-12-11
本文导语: clooect2.c 217行 #ifndef NO_SYS_SIGLIST #ifndef DONT_DECLARE_SYS_SIGLIST extern char *sys_siglist[]; #endif #endif error:conflicting types for 'sys_siglist' /usr/include/signal.h:311:30:note:previous declaration of 'sys_siglist' was here | ...
clooect2.c 217行
error:conflicting types for 'sys_siglist'
/usr/include/signal.h:311:30:note:previous declaration of 'sys_siglist' was here
#ifndef NO_SYS_SIGLIST
#ifndef DONT_DECLARE_SYS_SIGLIST
extern char *sys_siglist[];
#endif
#endif
error:conflicting types for 'sys_siglist'
/usr/include/signal.h:311:30:note:previous declaration of 'sys_siglist' was here
|
类型冲突了
看看signal.h里面的类型是什么
看看signal.h里面的类型是什么