日期:2014-05-16  浏览次数:20774 次

请教"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


------解决方案--------------------
语法错,出现不一样的函数和结构定义:

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

------解决方案--------------------
不会 友情帮顶