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]

binutils-2.18 - nlmconf.c - warning: value computed is not used


Compiling binutils with gcc-4.2.2:

        gcc -m32 -DHAVE_CONFIG_H -I. -I.././binutils -I. -D_GNU_SOURCE -I. -I.././binutils -I../bfd -I.././binutils/../bfd -I.././binutils/../include -DLOCALEDIR="\"/path/to/binutils-2.18/share/locale\"" -Dbin_dummy_emulation=bin_vanilla_emulation  -I/path/to/include  -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -g -O2 -c -DLD_NAME="\"${ldname}\"" -DNLMCONV_I386 -DNLMCONV_ALPHA -DNLMCONV_POWERPC -DNLMCONV_SPARC .././binutils/nlmconv.c
cc1: warnings being treated as errors
.././binutils/nlmconv.c: In function 'main':
.././binutils/nlmconv.c:1081: warning: value computed is not used

Compiling in the same environment but on x86_64 does not surface the error.

I silenced it with CFLAGS="${CFLAGS-} -Wno-unused", but is it safe to ignore this warning?


-- 
Yorick


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