This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

readelf int/long warning with -Werror breaks build


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]