Comment 41 for bug 568164

Revision history for this message
In , Jan (jan-redhat-bugs) wrote :

I've problem with compiling this code, see:

make all-recursive
make[1]: Entering directory `/home/honza/tmp/wq/iptraf-ng-1.0.1'
Making all in support
make[2]: Entering directory `/home/honza/tmp/wq/iptraf-ng-1.0.1/support'
/bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -Wall -Werror -std=gnu99 -pedantic -g -O2 -MT libtextbox_la-listbox.lo -MD -MP -MF .deps/libtextbox_la-listbox.Tpo -c -o libtextbox_la-listbox.lo `test -f 'listbox.c' || echo './'`listbox.c
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -Wall -Werror -std=gnu99 -pedantic -g -O2 -MT libtextbox_la-listbox.lo -MD -MP -MF .deps/libtextbox_la-listbox.Tpo -c listbox.c -fPIC -DPIC -o .libs/libtextbox_la-listbox.o
cc1: warnings being treated as errors
listbox.c: In function ‘tx_operate_listbox’:
listbox.c:108: error: format ‘%d’ expects type ‘int’, but argument 4 has type ‘size_t’
listbox.c:108: error: format ‘%d’ expects type ‘int’, but argument 4 has type ‘size_t’
make[2]: *** [libtextbox_la-listbox.lo] Error 1
make[2]: Leaving directory `/home/honza/tmp/wq/iptraf-ng-1.0.1/support'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/honza/tmp/wq/iptraf-ng-1.0.1'
make: *** [all] Error 2