qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [6028] target-ppc: use -Werror to make sure no new warn


From: Stuart Brady
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
User-agent: Mutt/1.5.13 (2006-08-11)

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 via email to

[Prev in Thread] Current Thread [Next in Thread]