Error when building on AIX
nick clifton
nickc@redhat.com
Tue Jul 31 08:01:00 GMT 2012
Hi Perry,
>> /usr/work/src/binutils-2.22/bfd/bfd.c: In function '_bfd_default_error_handler':
>> /usr/work/src/binutils-2.22/bfd/bfd.c:730:10: error: value computed is not used
> I can't even figure out what this message is trying to tell me.
My guess would be that gcc is complaining that the result of calling the
"putc" function is not being used. In fact, I suspect that on AIX putc
is not a function call at all, but rather a macro, and the value that
this macro computes is not being used.
Try changing line 730 to:
(void) putc ('\n', stderr);
If this works, please let me know and I can update the sources.
Cheers
Nick
More information about the Binutils
mailing list