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]

Build werror in tc-arm.c with your commit


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


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