在linux下,QT界面设计完成之后,我定义了几个无符号字符的全局变量:
static uchar iRslt1,iRslt2,iRslt3,iRstl1;
make时候,提示:
fingermap.h:20: redefinition of `unsigned char iRslt1'
fingermap.h:20: `unsigned char iRslt1' previously declared here
fingermap.h:20: redefinition of `unsigned char iRslt2'
fingermap.h:20: `unsigned char iRslt2' previously declared here
fingermap.h:20: redefinition of `unsigned char iRslt3'
fingermap.h:20: `unsigned char iRslt3' previously declared here
fingermap.h:20: redefinition of `unsigned char iRstl1'
fingermap.h:20: `unsigned char iRstl1' previously declared here
这该如何解决?大虾们帮下忙。。。谢谢!