This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Build werror in tc-arm.c with your commit
- From: Hans-Peter Nilsson <hans-peter dot nilsson at axis dot com>
- To: jiong dot wang at arm dot com
- Cc: binutils at sourceware dot org
- Date: Mon, 14 Jul 2014 16:00:00 +0200
- Subject: Build werror in tc-arm.c with your commit
- Authentication-results: sourceware.org; auth=none
After a commit in (this] revision range,
bffebb6..8335d6aa master -> origin/master
coinciding with a matching commit of yours according to the
changelog, I get a "-Werror"-induced compilation error in
tc-arm.c for arm-unknown-eabi on an x86_64-linux host (but -m32)
using "gcc version 4.7.2 (Debian 4.7.2-5)":
gcc -O2 -m32 -DHAVE_CONFIG_H -I. -I/tmp/hpautotest-binutils/bsrc/src/gas -I. -I/tmp/hpautotest-binutils/bsrc/src/gas -I../bfd -I/tmp/hpautotest-binutils/bsrc/src/gas/config -I/tmp/hpautotest-binutils/bsrc/src/gas/../include -I/tmp/hpautotest-binutils/bsrc/src/gas/.. -I/tmp/hpautotest-binutils/bsrc/src/gas/../bfd -DLOCALEDIR="\"/usr/local/share/locale\"" -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Wshadow -Werror -g -O2 -MT tc-arm.o -MD -MP -MF .deps/tc-arm.Tpo -c -o tc-arm.o `test -f 'config/tc-arm.c' || echo '/tmp/hpautotest-binutils/bsrc/src/gas/'`config/tc-arm.c
/tmp/hpautotest-binutils/bsrc/src/gas/config/tc-arm.c: In function 'add_to_lit_pool':
/tmp/hpautotest-binutils/bsrc/src/gas/config/tc-arm.c:3240:48: error: comparison between signed and unsigned integer expressions [-Werror=sign-compare]
/tmp/hpautotest-binutils/bsrc/src/gas/config/tc-arm.c:3244:52: error: comparison between signed and unsigned integer expressions [-Werror=sign-compare]
brgds, H-P