[SPAM] Re: r19206: format ‘%d’ expects type ‘int’ , but argument 7 has type ‘gsize’
Geert Janssens
janssens-geert at telenet.be
Wed May 26 16:28:53 EDT 2010
On Wednesday 26 May 2010, Frank H. Ellenberger wrote:
> Hi Geert,
>
> there is a small problem:
>
> libtool: compile:
> gcc -DHAVE_CONFIG_H -I. -I../.. -DG_LOG_DOMAIN=\"gnc.gui\" -I../../src
> -I../../src -I../../src/core-utils -I../../src/calculation
> -I../../src/engine -I../../src/app-utils -I../../src/backend/xml
> -I../../src/gnome-utils -I../../src/gnome-search -I../../src/html
> -I../../src/register/ledger-core -I../../src/register/register-core
> -I../../src/register/register-gnome -I../../src/report/report-system
> -I../../src/report/report-gnome -I../../lib/libc -I../../src/libqof/qof
> -pthread -DORBIT2=1 -pthread -I/usr/include/libgnomeui-2.0
> -I/usr/include/libart-2.0 -I/usr/include/gconf/2
> -I/usr/include/gnome-keyring-1 -I/usr/include/libgnome-2.0
> -I/usr/include/libbonoboui-2.0 -I/usr/include/libgnomecanvas-2.0
> -I/usr/include/gtk-2.0 -I/usr/include/gnome-vfs-2.0
> -I/usr/lib64/gnome-vfs-2.0/include -I/usr/include/orbit-2.0
> -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include
> -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include
> -I/usr/include/libbonobo-2.0 -I/usr/include/bonobo-activation-2.0
> -I/usr/include/libxml2 -I/usr/include/pango-1.0 -I/usr/include/gail-1.0
> -I/usr/include/freetype2 -I/usr/include/atk-1.0
> -I/usr/lib64/gtk-2.0/include -I/usr/include/cairo -I/usr/include/pixman-1
> -I/usr/include/libpng12 -I/usr/include/libglade-2.0 -I/usr/include/gtk-2.0
> -I/usr/include/libxml2 -I/usr/lib64/gtk-2.0/include -I/usr/include/atk-1.0
> -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0
> -I/usr/lib64/glib-2.0/include -I/usr/include/pixman-1
> -I/usr/include/freetype2 -I/usr/include/libpng12 -pthread
> -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -Werror
> -Wdeclaration-after-statement -Wno-pointer-sign -D_FORTIFY_SOURCE=2 -g -g
> -Wall -Wunused -Wmissing-prototypes -Wmissing-declarations -Wno-unused -MT
> dialog-print-check.lo -MD -MP -MF .deps/dialog-print-check.Tpo -c
> dialog-print-check.c -fPIC -DPIC -o .libs/dialog-print-check.o
> cc1: warnings being treated as errors
> dialog-print-check.c: In function ‘format_read_item_placement’:
> dialog-print-check.c:954: error: format ‘%d’ expects type ‘int’, but
> argument 7 has type ‘gsize’
> dialog-print-check.c: In function ‘format_read_general_info’:
> dialog-print-check.c:1370: error: format ‘%d’ expects type ‘int’, but
> argument 7 has type ‘gsize’
> make[4]: *** [dialog-print-check.lo] Fehler 1
> make[4]: Leaving directory
> `/home/frank/devel/git/gnucash.org/gnucash/src/gnome'
> make[3]: *** [all-recursive] Fehler 1
> make[3]: Leaving directory
> `/home/frank/devel/git/gnucash.org/gnucash/src/gnome'
> make[2]: *** [all-recursive] Fehler 1
> make[2]: Leaving directory `/home/frank/devel/git/gnucash.org/gnucash/src'
> make[1]: *** [all-recursive] Fehler 1
> make[1]: Leaving directory `/home/frank/devel/git/gnucash.org/gnucash'
> make: *** [all] Fehler 2
>
> Frank
>
Frank,
Thank you for your feedback.
My change seems to break the build on 64-bit platforms. I have just committed
a correction, which - I hope - should correct this.
I don't have access to a 64-bit system so I can't test this in practice.
Please let me know if the fix works.
Geert
More information about the gnucash-devel
mailing list