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]

Re: Error when building on AIX


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


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