Package: cnews Version: cr.g7-38 Severity: normal Tags: patch Hello,
Thank you for applying the gcc-4.0 related changes. There is now only one small issue with gcc-4.0 left: cc -O2 -DFASTSTRCHR -I../include -c -o trbatch.o trbatch.c trbatch.c:26: error: static declaration of 'bfincache' follows non-static declaration ../include/trbatch.h:31: error: previous declaration of 'bfincache' was here trbatch.c:27: error: static declaration of 'bfrclose' follows non-static declaration ../include/trbatch.h:30: error: previous declaration of 'bfrclose' was here trbatch.c: In function 'hfinstall': trbatch.c:78: warning: incompatible implicit declaration of built-in function 'memset' make[2]: *** [trbatch.o] Error 1 make[2]: Leaving directory `/cnews-cr.g7/explode' With the attached patch 'cnews' can be compiled on amd64 using gcc-4.0. Regards Andreas Jochens diff -urN ../tmp-orig/cnews-cr.g7/include/trbatch.h ./include/trbatch.h --- ../tmp-orig/cnews-cr.g7/include/trbatch.h 2005-04-04 13:23:43.952160020 +0200 +++ ./include/trbatch.h 2005-04-04 13:23:40.897732710 +0200 @@ -27,8 +27,8 @@ extern statust bffkclose(); extern int bfflush(); /* imports from trbatcomm.c */ -extern statust bfclose(), bfrclose(); -extern struct batchfile *bfincache(), *fakebf(); +extern statust bfclose(); +extern struct batchfile *fakebf(); extern struct batchfile batchfile[]; /* try to keep open always */ #define lastbf &batchfile[NOPENBFS-1] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]