当然不同啦
如果加上CFLAGS=-std=c99的话甚至根本编译不过:
Making all in libsystem
[Compiling f_io.lo]
f_io.c: In function 'rm_dir':
f_io.c:81: warning: implicit declaration of function 'strdup'
f_io.c:81: warning: assignment makes pointer from integer without a cast
f_io.c:88: warning: implicit declaration of function 'strsep'
f_io.c:88: warning: assignment makes pointer from integer without a cast
[Compiling kbs_string.lo]
[Compiling uuencode.lo]
[Compiling base64.lo]
base64.c: In function 'from64tobits':
base64.c:59: warning: implicit declaration of function 'isascii'
[Linking libsystem.la]
Making all in libBBS
[Compiling record.lo]
[Compiling log.lo]
[Compiling ucache.lo]
[Compiling stuff.lo]
[Compiling md5.lo]
[Compiling crypt.lo]
[Compiling pass.lo]
[Compiling bcache.lo]
[Compiling utmp.lo]
[Compiling lvars.lo]
[Compiling site.lo]
[Compiling boards.lo]
[Compiling bbs_sendmail.lo]
[Compiling libmsg.lo]
[Compiling article.lo]
[Compiling convcode.lo]
In file included from convcode.c:7:
/usr/include/sys/ipc.h:25:3: warning: #warning "Files using this header must be compiled with _SVID_SOURCE or _XOPEN_SOURCE"
In file included from ../src/bbs.h:630,
from convcode.c:15:
../src/var.h:66: error: syntax error before 'sigjmp_buf'
../src/var.h:66: warning: no semicolon at end of struct or union
../src/var.h:68: error: syntax error before '}' token
In file included from ../src/bbs.h:637,
from convcode.c:15:
../src/func.h:242: error: syntax error before '*' token
../src/func.h:242: warning: type defaults to 'int' in declaration of 'push_sigbus'
../src/func.h:242: warning: data definition has no type or storage class
make[2]: *** [convcode.lo] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
【 在 roctall (蛇王阿奔) 的大作中提到: 】
: ...
: 貌似你的gcc版本高一些
: 竟然warning也不同,hehe
: ...................
--
FROM 218.28.14.*