i686-pc-linux-gnu-gcc -march=athlon-xp -pipe -DHAVE_CONFIG_H -DNO_DEBUG -Wall -O3 -march=i686 -I../include -pthread -c date.c date.c:66: error: static declaration of 'ansidatenames' follows non-static declaration ../include/header.h:808: error: previous declaration of 'ansidatenames' was here date.c: In function 'date_serialize': date.c:317: error: invalid storage class for function 'make_date' date.c:323: warning: implicit declaration of function 'make_date' date.c:323: warning: assignment makes pointer from integer without a cast date.c: At top level: date.c:405: error: conflicting types for 'make_date' date.c:323: error: previous implicit declaration of 'make_date' was here make[1]: *** [date.o] Error 1 make[1]: Leaving directory `/var/tmp/portage/lush-1.1/work/lush-1.1/src' make: *** [all] Error 2 The website at http://lush.sf.net says: IMPORTANT NOTE: New features and fixes are being added to the CVS version of Lush on a daily basis. In particular, compatibility with gcc 4.x,... So it's not really surprising.
Created attachment 89584 [details, diff] gcc4 diff from cvs
--- ChangeLog 2006-02-13 16:12:44.000000000 -0600 +++ ChangeLog.new 2006-06-20 11:16:02.000000000 -0500 @@ -2,6 +2,11 @@ # Copyright 2000-2006 Gentoo Foundation and Matthew Kennedy <mkennedy@gentoo.org>; Distributed under the GPL v2 # $Header: /var/cvsroot/gentoo-x86/dev-lisp/lush/ChangeLog,v 1.7 2006/02/13 22:12:44 mkennedy Exp $ + 20 Jun 2006; Matthew Kennedy <mkennedy@gentoo.org> +files/1.1-gcc4.patch, + lush-1.1.ebuild: + Include fix for GCC4 compilation; Resolves Bug #137179; Thanks to Hanno + Meyer-Thurow for tracking the patch down. + 13 Feb 2006; Matthew Kennedy <mkennedy@gentoo.org> lush-1.0.ebuild, lush-1.1.ebuild: Modular X dependencies.