作者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