qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Stuart Brady <sdbrady@ntlworld.com>
To: qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] [6028] target-ppc: use -Werror to make sure no new warning is added
Date: Sun, 14 Dec 2008 17:54:35 +0000	[thread overview]
Message-ID: <20081214175435.GA14195@miranda.arrow> (raw)
In-Reply-To: <20081214171656.GA13996@miranda.arrow>

On Sun, Dec 14, 2008 at 05:16:56PM +0000, Stuart Brady wrote:
> On Sun, Dec 14, 2008 at 05:56:16PM +0100, Aurelien Jarno wrote:
> > On Sun, Dec 14, 2008 at 03:09:28PM +0000, Stuart Brady wrote:
> > > .../qemu/vl.c:5202: error: ignoring return value of 'write', declared
> > >  with attribute warn_unused_result
> > > .../qemu/vl.c:5515: error: ignoring return value of 'chdir', declared
> > >  with attribute warn_unused_result
> > 
> > Which compiler are you using? I don't have those warnings.
> 
> GCC 4.3.2 with glibc 2.8.

FWIW, I'm only getting these warnings because the compiler I'm using
happens to predefine _FORTIFY_SOURCE.  (They're also only generated if
you have GCC 4.1 or later, and are compiling with optimisation enabled.)

Cheers,
-- 
Stuart Brady

  reply	other threads:[~2008-12-14 17:52 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-12-14 11:12 [Qemu-devel] [6028] target-ppc: use -Werror to make sure no new warning is added Aurelien Jarno
2008-12-14 15:09 ` Stuart Brady
2008-12-14 16:56   ` Aurelien Jarno
2008-12-14 17:16     ` Stuart Brady
2008-12-14 17:54       ` Stuart Brady [this message]
2008-12-14 17:34     ` Kirill A. Shutemov

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=20081214175435.GA14195@miranda.arrow \
    --to=sdbrady@ntlworld.com \
    --cc=qemu-devel@nongnu.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;
as well as URLs for NNTP newsgroup(s).