test.c:52: warning: initialization from incompatible pointer type
test.c:53: warning: initialization from incompatible pointer type
test.c: In function 'Analyze':
test.c:210: warning: passing argument 1 of 'g_pMsdhCmdSys[0].DealFunc' makes intege
r from pointer without a cast
test.c:210: warning: passing argument 3 of 'g_pMsdhCmdSys[0].DealFunc' makes intege
r from pointer without a cast
test.c:215: warning: passing argument 1 of 'g_pMsdhCmdSys[1].DealFunc' makes intege
r from pointer without a cast
test.c:215: warning: passing argument 3 of 'g_pMsdhCmdSys[1].DealFunc' makes intege
r from pointer without a cast
原文那里只是使用了下函数指针,类型保证没问题。。。
[已解决]这几条编译警告什么意思?
-
- 帖子: 41
- 注册时间: 2007-06-21 11:00
[已解决]这几条编译警告什么意思?
上次由 早7点 在 2007-07-11 8:57,总共编辑 1 次。