[問題] ERROR求救~

看板C_and_CPP作者 (saber.c)時間15年前 (2009/07/21 12:50), 編輯推噓1(101)
留言2則, 2人參與, 最新討論串1/1
小弟再寫一個晶片的功能 因為有範例所以 我拿來改 可是在編譯時出現如下的訊息= = 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

07/21 13:20, , 1F
關掉 -Werror 選項試試看。
07/21 13:20, 1F

07/21 14:24, , 2F
他希望你能明確的加個括號, 讓他心安.... XD
07/21 14:24, 2F
文章代碼(AID): #1APKaJQV (C_and_CPP)