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

Re: [Xen-devel] [PATCH 01/34] xen: clang: Disable initializer-overrides warning



Hi Jan,

On 03/26/2014 11:51 AM, Jan Beulich wrote:
>>>> On 25.03.14 at 17:55, <julien.grall@xxxxxxxxxx> wrote:
>> --- a/xen/Rules.mk
>> +++ b/xen/Rules.mk
>> @@ -68,6 +68,8 @@ ifneq ($(max_phys_irqs),)
>>  CFLAGS-y                += -DMAX_PHYS_IRQS=$(max_phys_irqs)
>>  endif
>>  
>> +CFLAGS-$(clang)         += -Wno-initializer-overrides
> 
> And this is supported by all clang versions we permit to be used, i.e.
> doesn't need to be done conditionally?

I've tried to compile with clang 3.0-3.5 (used by Debian wheezy).

In another dimension can we really say we are supporting clang when most
of the time it's not possible to compile Xen with it? For instance,
building Xen 4.4 with Clang doesn't work.

I think we might need to have a build test for clang.

Regards,

-- 
Julien Grall

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.