[Pkg-qof-maintainers] Bug#565090: qof: ftbfs with gcc-4.5

Neil Williams codehelp at debian.org
Wed Jan 13 08:18:17 UTC 2010


On Wed, 13 Jan 2010 01:05:42 +0000
Matthias Klose <doko at debian.org> wrote:

> Package: qof
> Version: 0.8.1-1
> Severity: normal
> Tags: sid
> User: debian-gcc at lists.debian.org
> Usertags: ftbfs-gcc-4.5
> 
> The package fails to build in a test rebuild on at least amd64 with
> gcc-4.5/g++-4.5, but succeeds to build with gcc-4.4/g++-4.4.
> For the compiler version used, see:
> http://lists.debian.org/debian-devel/2010/01/msg00230.html

I saw that qof was listed in the wiki page linked from the first
notification of these tests and I think I've got a fix for it but I
haven't had time to test the fix with gcc-4.5 yet.

http://svn.debian.org/viewsvn/qof/trunk/qof/qof/qofdate.c?r1=1093&r2=1092&pathrev=1093
 
> -DHAVE_CONFIG_H -I. -I.. -I../lib/libsql -DPREFIX=\"/usr\" -DDATADIR=
> \"/usr/share\" -g -DQOF_LIB_DIR=\"/usr/lib/qof2\" -Werror
> -Wdeclaration-after-statement -I/usr/include/glib-2.0
> -I/usr/lib/glib-2.0/include -g -O2 -g -Wall -O2 -g2 -Wall -c
> qofdate.c  -fPIC -DPIC -o .libs/qofdate.o cc1: warnings being treated
> as errors qofdate.c: In function 'date_normalise': qofdate.c:497:18:
> error: operation on 'date->qd_year' may be undefined make[4]: ***

-- 


Neil Williams
=============
http://www.data-freedom.org/
http://www.linux.codehelp.co.uk/
http://e-mail.is-not-s.ms/

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-qof-maintainers/attachments/20100113/fd3d3b45/attachment.pgp>


More information about the Pkg-qof-maintainers mailing list