作者Paladin (Real Voyage)
看板PttCurrent
标题Re: bbsmail problem
时间Tue Feb 24 01:54:49 2004
in2, 你跟新 pttbbs.mk 之後, 现在 compiler error 变成:
bbsmail.c: In function `mail2bbs':
bbsmail.c:116: syntax error before `void'
bbsmail.c:117: warning: implicit declaration of function `str_decode_M3'
*** Error code 1
Stop in /usr/home/bbs/pttbbs/util.
*** Error code 1
Stop in /usr/home/bbs/pttbbs.
把下面的 code 移除之後就 ok 了 (in util/bbsmail.c )
#ifdef USE_ICONV
void str_decode_M3(unsigned char *str);
str_decode_M3(title);
#endif
--
Most serious riders do have their own saddles.
Captain Picard,《Starship Mine》
--
※ 发信站: 批踢踢实业坊(ptt.cc)
◆ From: 61.216.240.126
※ 编辑: Paladin 来自: 61.216.240.126 (02/24 02:08)