From: "Joseph S. Myers" <joseph@codesourcery.com>
To: Joel Brobecker <brobecker@adacore.com>
Cc: gdb-patches@sourceware.org
Subject: Re: FYI: -Wunused warning in cp-namespace.c with old glibc...
Date: Wed, 24 Mar 2010 23:26:00 -0000 [thread overview]
Message-ID: <Pine.LNX.4.64.1003242324401.15636@digraph.polyomino.org.uk> (raw)
In-Reply-To: <20091230104816.GC548@adacore.com>
On Wed, 30 Dec 2009, Joel Brobecker wrote:
> On the older system, we end up getting a warning-turned-error:
>
> [...]/gdb/cp-namespace.c: In function 'cp_lookup_transparent_type_loop':
> [...]/gdb/cp-namespace.c:542: error: value computed is not used
FWIW, I've applied a patch to GCC trunk's fixincludes to make it fix this
issue in the old bits/string2.h. That allows the error to be avoided when
using a new GCC with glibc that predates the GCC version conditional and
use of __builtin_strncpy.
--
Joseph S. Myers
joseph@codesourcery.com
prev parent reply other threads:[~2010-03-24 23:26 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-12-30 10:48 Joel Brobecker
2009-12-30 13:22 ` Daniel Jacobowitz
2010-03-24 23:26 ` Joseph S. Myers [this message]
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=Pine.LNX.4.64.1003242324401.15636@digraph.polyomino.org.uk \
--to=joseph@codesourcery.com \
--cc=brobecker@adacore.com \
--cc=gdb-patches@sourceware.org \
/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