作者rickykidd (saber.c)
看板C_and_CPP
标题[问题] ERROR求救~
时间Tue Jul 21 12:50:26 2009
小弟再写一个晶片的功能
因为有范例所以 我拿来改
可是在编译时出现如下的讯息= =
Test_MCP2510.c:In funtion 'MCP2510_IO_CS_Init';
Test_MCP2510.c:61:error:suggest parentheses around arithmetic in operand of |
Test_MCP2510.c:62:error:suggest parentheses around arithmetic in operand of |
Test_MCP2510.c:63:error:suggest parentheses around arithmetic in operand of |
Test_MCP2510.c:64:error:suggest parentheses around arithmetic in operand of |
後来查看感觉是定义IO脚位那边的问题 可是又看不出啥问题QQ
不知道板上大大能不能帮忙看一下
程式码如下
http://nopaste.info/03fc16dbea.html
--
※ 发信站: 批踢踢实业坊(ptt.cc)
◆ From: 140.130.22.88
1F:→ tinlans:关掉 -Werror 选项试试看。 07/21 13:20
2F:推 ledia:他希望你能明确的加个括号, 让他心安.... XD 07/21 14:24