reassign 218710 gnumeric thanks On Sun, Jan 25, 2004 at 10:02:09AM +0100, J.H.M. Dassen (Ray) wrote: > On Sun, Jan 25, 2004 at 03:12:14 +0100, Adrian Bunk wrote: > > I wasn't able to reproduce this issue you reported (FTBFS with gcc 2.95 in > > dialog-simulation.c) using gcc 2.95.3 on NetBSD/sparc. > > I can still reproduce it with gcc version 2.95.4 20011002 (Debian > prerelease) on i386: >... > Given that you can build gnumeric with gcc 2.95.3 on NetBSD/sparc, it seems > reasonable to assume the problem is in gcc, not gnumeric. I'll reassign > accordingly.
I found why the Debian package fails to compile with gcc 2.95, the following patch fixes the problem: --- debian/rules.old 2004-01-27 12:14:28.000000000 +0100 +++ debian/rules 2004-01-27 12:14:39.000000000 +0100 @@ -67,7 +67,6 @@ --localstatedir=/var/lib \ --libexecdir=/usr/bin \ --enable-compile-warnings=minimum \ - --enable-iso-c \ $(features) ifeq ($(DEB_BUILD_GNU_TYPE), $(DEB_HOST_GNU_TYPE)) After applying this patch and adding the small diff from Gnumeric bug 131967 [1] (already fixed in upstream cvs) Gnumeric compiles with gcc 2.95. You might argue whether there's a bug in gc 2.95 with -ansi involved, but since gcc 2.95 is a dead branch there's not much use in a bug against gcc-2.95. It's your choice whether you prefer to apply this patch or to leave this bug as wontfix. > Ray cu Adrian [1] http://bugzilla.gnome.org/show_bug.cgi?id=131967 -- "Is there not promise of rain?" Ling Tan asked suddenly out of the darkness. There had been need of rain for many days. "Only a promise," Lao Er said. Pearl S. Buck - Dragon Seed