From: "Jan Beulich" Subject: Re: [PATCH] Avoid clang prior initialization error when listing MTRR flags Date: Mon, 15 Sep 2014 12:22:59 +0100 Message-ID: <5416E8330200007800034F1B@mail.emea.novell.com> References: <1410627472-88435-1-git-send-email-saper@saper.info> <5416D2A80200007800034E50@mail.emea.novell.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mail6.bemta4.messagelabs.com ([85.158.143.247]) by lists.xen.org with esmtp (Exim 4.72) (envelope-from ) id 1XTUN6-0006ZH-C4 for xen-devel@lists.xenproject.org; Mon, 15 Sep 2014 11:23:04 +0000 In-Reply-To: Content-Disposition: inline List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Marcin Cieslak Cc: xen-devel@lists.xenproject.org List-Id: xen-devel@lists.xenproject.org >>> On 15.09.14 at 12:59, wrote: > On Mon, 15 Sep 2014, Jan Beulich wrote: >> And as a side note - this change is more than just elimination of >> the compiler warning. > > Good question how to avoid it. Do you prefer to spell out all > cases or to use -Wno-initializer-overrides? Which initializer > should compilers use? With the context zapped the issue isn't clearly visible anymore, but I think you didn't get my point: You changed "?" to "??". Jan