[Pkg-xfce-devel] Bug#345967: thunar: FTBFS on 64 bit arches: format '%d' expects type 'int', but argument 3 has type 'size_t'
- Subject: [Pkg-xfce-devel] Bug#345967: thunar: FTBFS on 64 bit arches: format '%d' expects type 'int', but argument 3 has type 'size_t'
- From: kurt at roeckx.be (Kurt Roeckx)
- Date: Wed Jan 4 15:03:37 2006
- Message-id: <[🔎] 20060104145740.GA18516@roeckx.be>
Package: thunar
Version: 0.1.4svn+r18850-2
Severity: important
Hi,
Your package is failing to build on 64 bit arches with the
following error:
/bin/sh ../libtool --mode=link --tag=CC cc -g -Wall -O2 -o libtdb.la libtdb_la-spinlock.lo libtdb_la-tdb.lo
ar cru .libs/libtdb.a .libs/libtdb_la-spinlock.o .libs/libtdb_la-tdb.o
ranlib .libs/libtdb.a
creating libtdb.la
(cd .libs && rm -f libtdb.la && ln -s ../libtdb.la libtdb.la)
if cc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -O0 -g3 -DG_DISABLE_DEPRECATED -Werror -Wall -fno-strict-aliasing -g -Wall -O2 -MT tdbtool.o -MD -MP -MF ".deps/tdbtool.Tpo" -c -o tdbtool.o tdbtool.c; \
then mv -f ".deps/tdbtool.Tpo" ".deps/tdbtool.Po"; else rm -f ".deps/tdbtool.Tpo"; exit 1; fi
cc1: warnings being treated as errors
tdbtool.c: In function 'print_rec':
tdbtool.c:345: warning: format '%d' expects type 'int', but argument 3 has type 'size_t'
tdbtool.c:347: warning: format '%d' expects type 'int', but argument 3 has type 'size_t'
make[3]: *** [tdbtool.o] Error 1
The proper way to print a size_t is "%zd", or "%zu".
Kurt
Reply to: