当前位置: 技术问答>linux和unix
请教"two or more data types in declaration specifiers"的解决办法
来源: 互联网 发布时间:2017-01-29
本文导语: 我在cygwin上用arm-wince-mingw32ce编译器编译成功,但make的时候,出现下面的错误,不知道怎么回事? /include/sys/types.h:41: error: two or more data types in declaration specifiers | 语法错,出现不一样的函数和结构定义: ...
我在cygwin上用arm-wince-mingw32ce编译器编译成功,但make的时候,出现下面的错误,不知道怎么回事?
/include/sys/types.h:41: error: two or more data types in declaration specifiers
/include/sys/types.h:41: error: two or more data types in declaration specifiers
|
语法错,出现不一样的函数和结构定义:
I had the same problem and I got it resolved ... In my case I had a struct defined in a header file and the compiler pointed me to the struct definition.
I believe the same case with other I.E function or struct...Etc
If you have a debugger then you might have resolved by now... But I am sure that there is a syntax error such as a semi-colon in a file which is included before the error point. Please check other headers and source files for syntax error. I had a syntax error in a header file which I've included before the header which contained this struct definition. Good luck
I had the same problem and I got it resolved ... In my case I had a struct defined in a header file and the compiler pointed me to the struct definition.
I believe the same case with other I.E function or struct...Etc
If you have a debugger then you might have resolved by now... But I am sure that there is a syntax error such as a semi-colon in a file which is included before the error point. Please check other headers and source files for syntax error. I had a syntax error in a header file which I've included before the header which contained this struct definition. Good luck
|
不会 友情帮顶