qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [Qemu-trivial] [PATCH v2] libvixl: a64: Skip "-Wunused-


From: Michael Tokarev
Subject: Re: [Qemu-devel] [Qemu-trivial] [PATCH v2] libvixl: a64: Skip "-Wunused-variable" for gcc 5.0.0 or higher
Date: Tue, 14 Oct 2014 21:58:50 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Icedove/31.0

On 11.10.2014 23:25, Peter Maydell wrote:
On 11 October 2014 15:13, Chen Gang <address@hidden> wrote:

MJT: please don't put this in -trivial, it will clash with
the update to libvixl 1.6 currently on the list.

Actually I'd not put that to anywhere anyway.  Because to me,
*especially* in a case like this when the code is imported from
some other place and will be updated later (so we should not
modify it), this issue can be more easily dealt with externally,
by adding a compiler option in a Makefile.  Provided, ofcourse,
that it is not fixed upstream properly to start with - and if
it is (and this is the very sane way to go really, to fix it
upstream), that fix can be pulled to qemu as well, so no
clashes with further upstream changes will happen.

And aso because really, this prob should be fixed properly, not
worked around like this..

[]
Some other approaches to this that would confine the
fix to the makefiles rather than requiring us to modify
the vixl source itself:
  a) add a -Wno- option for the affected .o files
  b) use -isystem rather than -I to include the libvixl
     directory on the include path

(a)'s probably better I guess.

That's what I'm after too (after trying to fix it properly).
And no, at this time I dont know how gcc5 handles this.

Thanks,

/mjt



reply via email to

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