This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
binutils-2.18 - nlmconf.c - warning: value computed is not used
- From: "Poor Yorick" <org dot sourceware dot binutils at pooryorick dot com>
- To: binutils at sourceware dot org
- Date: Tue, 01 Jan 2008 20:20:28 +0000
- Subject: binutils-2.18 - nlmconf.c - warning: value computed is not used
- Reply-to: "Poor Yorick" <org dot sourceware dot binutils at pooryorick dot com>
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