作者deduce ()
看板PttCurrent
标题[问题] 编译问题 (invalid type argument of '->')
时间Fri Nov 19 00:39:32 2004
我的OS是debian.编译的时候在talk.c会出现下列讯息
ccache gcc -O -Os -fstrength-reduce -fthread-jumps -fexpensive-optimizations
-Wall -pipe -DBBSHOME='"/home/bbs"' -I../include -D__OS_MAJOR_VERSION__="2"
-D__OS_MINOR_VERSION__="2" -fomit-frame-pointer -c talk.c
talk.c: In function `FindAngel':
talk.c:3021: invalid type argument of `->'
talk.c:3022: invalid type argument of `->'
talk.c:3031: invalid type argument of `->'
talk.c:3032: invalid type argument of `->'
talk.c:3035: invalid type argument of `->'
talk.c:3036: invalid type argument of `->'
talk.c:3037: invalid type argument of `->'
talk.c:3038: warning: passing arg 1 of `he_reject_me' makes pointer from
integer without a cast
talk.c:3039: invalid type argument of `->'
*** Error code 1
Stop.
*** Error code 1
Stop.
请各位高手指教,我试了好久仍然不知道如何解决这个问题。Thanks!!!
--
J'espere que tout les choses sont parfait
--
※ 发信站: 批踢踢实业坊(ptt.cc)
◆ From: 140.119.195.10