Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: Tom Tromey <tromey@redhat.com>
To: Perry Smith <pedzsan@gmail.com>
Cc: gdb@sourceware.org
Subject: Re: gdb 7.3.1 and gdb 7.2 on AIX 6.1
Date: Mon, 24 Oct 2011 15:43:00 -0000	[thread overview]
Message-ID: <m3ty6ybhti.fsf@fleche.redhat.com> (raw)
In-Reply-To: <76FEEABF-7483-41AE-8C3E-809F91F3613B@gmail.com> (Perry Smith's	message of "Sun, 23 Oct 2011 16:00:29 -0500")

>>>>> "Perry" == Perry Smith <pedzsan@gmail.com> writes:

>> /usr/work/src/gdb-7.2/bfd/bfd.c: In function '_bfd_default_error_handler':
>> /usr/work/src/gdb-7.2/bfd/bfd.c:710:3: error: value computed is not used

Perry> The same error happens with 7.3.1 and 7.2 (the above snippet is
Perry> from 7.2).

Perry> Searching the web did not hit anything connected to gdb.  The curious
Perry> thing is that I compiled gdb 7.2 using a previous gcc of 4.2.4.

Warnings change between versions of gcc.

Perry> I notice the message "warnings being treated as errors" which might
Perry> explain why, looking at the code, I don't see the problem.

Perry> Any suggestions of what is wrong?

Probably nothing is wrong, just gcc being too eager.
If you just want to build it, don't use -Werror.

Tom


  reply	other threads:[~2011-10-24 14:11 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-10-24  2:16 Perry Smith
2011-10-24 15:43 ` Tom Tromey [this message]
2011-10-24 16:07   ` Perry Smith
2011-10-24 20:03     ` Joel Brobecker

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=m3ty6ybhti.fsf@fleche.redhat.com \
    --to=tromey@redhat.com \
    --cc=gdb@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