readelf int/long warning with -Werror breaks build
Hans-Peter Nilsson
hans-peter.nilsson@axis.com
Wed Oct 31 17:14:00 GMT 2007
My autotester complains about the recent commit:
gcc -O2 -m32 -DHAVE_CONFIG_H -I. -I/h/hp/binutils/cvs_latest/src/binutils -I. -I. -I/h/hp/binutils/cvs_latest/src/binutils -I../bfd -I/h/hp/binutils/cvs_latest/src/binutils/../bfd -I/h/hp/binutils/cvs_latest/src/binutils/../include -DLOCALEDIR="\"/usr/local/share/locale\"" -Dbin_dummy_emulation=bin_vanilla_emulation -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -g -O2 -c /h/hp/binutils/cvs_latest/src/binutils/readelf.c
/h/hp/binutils/cvs_latest/src/binutils/readelf.c: In function `debug_apply_relocations':
/h/hp/binutils/cvs_latest/src/binutils/readelf.c:8281: warning: long int format, int arg (arg 3)
make[4]: *** [readelf.o] Error 1
If I'd had my keys here, I'd committed the obvious long cast.
brgds, H-P
More information about the Binutils
mailing list