- 主题:激活码部分代码编译错误
bbs2www/phplib/phpbbs.reg.c
phpbbs.reg.c: In function `zif_bbs_sendactivation':
phpbbs.reg.c:508: error: storage size of `ai' isn't known
phpbbs.reg.c:520: warning: implicit declaration of function `getact ivation'
phpbbs.reg.c:521: warning: implicit declaration of function `sendac tivation'
phpbbs.reg.c:508: warning: unused variable `ai'
phpbbs.reg.c: In function `zif_bbs_doactivation':
phpbbs.reg.c:529: error: storage size of `ai' isn't known
phpbbs.reg.c:542: warning: implicit declaration of function `doacti vation'
phpbbs.reg.c:529: warning: unused variable `ai'
phpbbs.reg.c: In function `zif_bbs_getactivation':
phpbbs.reg.c:599: error: storage size of `ai' isn't known
phpbbs.reg.c:615: error: `ACTIVATIONLEN' undeclared (first use in t his function)
phpbbs.reg.c:615: error: (Each undeclared identifier is reported on ly once
phpbbs.reg.c:615: error: for each function it appears in.)
phpbbs.reg.c:599: warning: unused variable `ai'
make[3]: *** [phpbbs.reg.lo] 错误 1
make[2]: *** [all-recursive] 错误 1
make[1]: *** [all-recursive] 错误 1
make: *** [all] 错误 2
--
FROM 218.249.29.*
activation_info 定义在哪里啊?
【 在 tombcy (tombcy) 的大作中提到: 】
: bbs2www/phplib/phpbbs.reg.c
: phpbbs.reg.c: In function `zif_bbs_sendactivation':
: phpbbs.reg.c:508: error: storage size of `ai' isn't known
: ...................
--
修改:tombcy FROM 218.249.29.*
FROM 218.249.29.*
这个?
struct activation_info {
int activated[1];
char activationcode[15];
char reg_email[30];
};
【 在 tombcy (tombcy) 的大作中提到: 】
: activation_info 定义在哪里啊?
--
FROM 218.249.29.*