qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PATCH] configure: Disable (clang) initializer-override


From: Peter Maydell
Subject: Re: [Qemu-devel] [PATCH] configure: Disable (clang) initializer-overrides warnings
Date: Wed, 24 Oct 2012 13:31:13 +0100

On 14 October 2012 21:24, Peter Maydell <address@hidden> wrote:
> On 14 October 2012 21:15, Blue Swirl <address@hidden> wrote:
>> On Sun, Oct 14, 2012 at 8:00 PM, Peter Maydell <address@hidden> wrote:
>>> Blue Swirl previously submitted a patch which enabled this flag
>>> (among others):
>>> http://lists.gnu.org/archive/html/qemu-devel/2012-07/msg04203.html
>>
>> In my version, Clang flags were separate from GCC flags. I think it
>> would be better to run different tests for each compiler in the
>> future, that lets GCC avoid Clang flag -ffoobar which does not have
>> desirable effect to GCC and vice versa.
>
> Mmm, but at the moment it's entirely fine to pass both compilers
> the same flags, and moreover we actually pass all these flags
> to the compiler without checking if it's gcc or not; we just
> ask if the compiler will run OK with the flag passed. (I'm not
> even sure how you'd determine whether your compiler was gcc
> or clang or gcc-llvm or whatever...)

This discussion seems to have got stalled. Do you really want to
try to add a mechanism for detecting which compiler is being
used and applyng different flags for each, given that we don't
actually need to do that in this case?

-- PMM



reply via email to

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