[Pkg-qof-maintainers] Bug#530525: FTBFS with GCC 4.4: dereferencing type-punned pointer will break strict-aliasing rules

Martin Michlmayr tbm at cyrius.com
Mon May 25 13:13:31 UTC 2009


Package: qof
Version: 0.8.0-1
User: debian-gcc at lists.debian.org
Usertags: ftbfs-gcc-4.4

Your package fails to build with GCC 4.4.  You can reproduce this problem
with gcc-4.4/g++-4.4 from unstable.

> Automatic build of qof_0.8.0-1 on em64t by sbuild/amd64 0.53
...
> libtool: compile:  cc -DHAVE_CONFIG_H -I. -I.. -DPREFIX=\"/usr\" -DDATADIR=\"/usr/share\" -g -DQOF_LIB_DIR=\"/usr/lib/qof2\" -Werror -Wdeclaration-after-statement -I/usr/include/libgda-3.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/libxml2 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -g -O2 -g -Wall -O2 -g2 -Wall -c guid.c  -fPIC -DPIC -o .libs/guid.o
> cc1: warnings being treated as errors
> guid.c: In function 'guid_hash_to_guint':
> guid.c:689: error: dereferencing type-punned pointer will break strict-aliasing rules
> make[4]: *** [guid.lo] Error 1
> make[4]: Leaving directory `/build/tbm/qof-0.8.0/qof'
> make[3]: *** [all-recursive] Error 1
> make[3]: Leaving directory `/build/tbm/qof-0.8.0/qof'
> make[2]: *** [all-recursive] Error 1
> make[2]: Leaving directory `/build/tbm/qof-0.8.0'
> make[1]: *** [all] Error 2

-- 
Martin Michlmayr
http://www.cyrius.com/






More information about the Pkg-qof-maintainers mailing list