From mboxrd@z Thu Jan 1 00:00:00 1970 From: Julien Grall Subject: Re: [PATCH 01/34] xen: clang: Disable initializer-overrides warning Date: Wed, 26 Mar 2014 15:00:46 +0000 Message-ID: <5332EB9E.6050409@linaro.org> References: <1395766541-23979-1-git-send-email-julien.grall@linaro.org> <1395766541-23979-2-git-send-email-julien.grall@linaro.org> <5332CD4B020000780000247A@nat28.tlf.novell.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mail6.bemta14.messagelabs.com ([193.109.254.103]) by lists.xen.org with esmtp (Exim 4.72) (envelope-from ) id 1WSpJz-0005xn-0i for xen-devel@lists.xenproject.org; Wed, 26 Mar 2014 15:00:51 +0000 Received: by mail-la0-f47.google.com with SMTP id y1so1600998lam.34 for ; Wed, 26 Mar 2014 08:00:49 -0700 (PDT) In-Reply-To: <5332CD4B020000780000247A@nat28.tlf.novell.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Jan Beulich Cc: xen-devel@lists.xenproject.org, Keir Fraser , ian.campbell@citrix.com, stefano.stabellini@citrix.com, tim@xen.org List-Id: xen-devel@lists.xenproject.org Hi Jan, On 03/26/2014 11:51 AM, Jan Beulich wrote: >>>> On 25.03.14 at 17:55, 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