From: nick clifton <nickc@redhat.com>
To: Perry Smith <pedzsan@gmail.com>
Cc: binutils@sourceware.org
Subject: Re: Error when building on AIX
Date: Tue, 31 Jul 2012 08:01:00 -0000 [thread overview]
Message-ID: <50178152.2080900@redhat.com> (raw)
In-Reply-To: <9FB11EBB-6CE1-409A-B8B0-7F4726E6C8D8@gmail.com>
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
next prev parent reply other threads:[~2012-07-31 8:01 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-07-30 23:00 Perry Smith
2012-07-31 8:01 ` nick clifton [this message]
2012-07-31 15:16 ` Perry Smith
2012-07-31 19:06 ` Peter Bergner
2012-08-09 8:15 David Edelsohn
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=50178152.2080900@redhat.com \
--to=nickc@redhat.com \
--cc=binutils@sourceware.org \
--cc=pedzsan@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).