qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] clang 3.5.0 errors


From: Peter Maydell
Subject: Re: [Qemu-devel] clang 3.5.0 errors
Date: Tue, 17 Mar 2015 23:07:31 +0000

On 17 March 2015 at 19:59, John Snow <address@hidden> wrote:
> On 03/17/2015 03:34 PM, Peter Maydell wrote:
>> On 17 March 2015 at 19:30, John Snow <address@hidden> wrote:
>>> -Wunused-command-line-argument currently complains about the
>>> many include flags passed to each CC incantation

>> Do you see this with really just --cc=clang ? I see these warnings
>> if I try to use clang with ccache, but I believe that's a ccache bug.

> Not /intentionally/ invoking ccache:
>
> ../../configure --cc=clang --host-cc=clang --enable-debug
> --extra-cflags="-Werror -Wno-unknown-attributes -Wno-parentheses-equality
> -Wno-self-assign -Wno-tautological-compare"
>
> But that's because:
>
> which clang
> /usr/lib64/ccache/clang
>
> Which is definitely not of my own doing -- seems to be a default in Fedora
> 21.

Brave of them :-)

Supposedly this bug is fixed in ccache 3.2:
https://bugzilla.samba.org/show_bug.cgi?id=8118

You can probably work around it by telling QEMU's configure
--extra-cflags=-Qunused-arguments or something similar.

-- PMM



reply via email to

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