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

Poor Yorick org.sourceware.binutils@pooryorick.com
Tue Jan 1 20:20:00 GMT 2008


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



More information about the Binutils mailing list