编译的时候报错
attribute warn_unused_result
[Compiling site.lo]
../libBBS/site.c: In function ‘uleveltochar’:
../libBBS/site.c:88: error: ‘PERM_MM’ undeclared (first use in this function)
../libBBS/site.c:88: error: (Each undeclared identifier is reported only once
../libBBS/site.c:88: error: for each function it appears in.)
../libBBS/site.c: In function ‘old_compute_user_value’:
../libBBS/site.c:297: error: ‘PERM_MM’ undeclared (first use in this function)
make[2]: *** [site.lo] 错误 1
然后我查看site.c 文件
发现似乎系统不认中文,不知是怎么回事
const char * const permstrings[] = {
"禄霉卤戮脠篓脕娄", /* PERM_BASIC */
"陆酶脠毛脕脛脤矛脢脪", /* PERM_CHAT */
"潞么陆脨脣没脠脣脕脛脤矛", /* PERM_PAGE */
"路垄卤铆脦脛脮脗", /* PERM_POST */
"脢鹿脫脙脮脽脳脢脕脧脮媒脠路", /* PERM_LOGINOK */
//"陆没脰鹿路垄卤铆脦脛脮脗", /* PERM_DENYPOST */
"脮戮脦帽陆没", /* PERM_BMMANAGER */
"驴脡脪镁脡铆", /* PERM_CLOAK */
"驴脡录没脪镁脡铆", /* PERM_SEECLOAK */
"鲁陇脝脷脮脢潞脜", /* PERM_XEMPT */
"卤脿录颅脧碌脥鲁碌碌掳赂", /* PERM_WELCOME */
"掳忙脰梅", /* PERM_BOARDS */
"脮脢潞脜鹿脺脌铆脭卤", /* PERM_ACCOUNTS *
谁来帮帮我~~
--
FROM 162.105.73.*