From mboxrd@z Thu Jan 1 00:00:00 1970 From: Julien Grall Subject: Re: [RFC 08/14] xen/xsm: flask: Rename variable "bool" in "b" Date: Thu, 13 Mar 2014 13:17:25 +0000 Message-ID: <5321AFE5.7050300@linaro.org> References: <1394640969-25583-1-git-send-email-julien.grall@linaro.org> <1394640969-25583-9-git-send-email-julien.grall@linaro.org> <53208AD0.8060606@citrix.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mail6.bemta3.messagelabs.com ([195.245.230.39]) by lists.xen.org with esmtp (Exim 4.72) (envelope-from ) id 1WO5Vp-0007RP-Kx for xen-devel@lists.xenproject.org; Thu, 13 Mar 2014 13:17:29 +0000 Received: by mail-wg0-f41.google.com with SMTP id n12so861456wgh.24 for ; Thu, 13 Mar 2014 06:17:27 -0700 (PDT) In-Reply-To: <53208AD0.8060606@citrix.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: Andrew Cooper Cc: xen-devel@lists.xenproject.org, Daniel De Graaf , stefano.stabellini@citrix.com, ian.campbell@citrix.com, tim@xen.org List-Id: xen-devel@lists.xenproject.org Hi Andrew, On 03/12/2014 04:26 PM, Andrew Cooper wrote: > On 12/03/14 16:16, Julien Grall wrote: >> On ARM, the compilation is failing with the following error: >> In file included from flask_op.c:21:0: >> ./include/conditional.h:24:43: error: two or more data types in declaration specifiers >> ./include/conditional.h:25:42: error: two or more data types in declaration specifiers >> >> Signed-off-by: Julien Grall >> Cc: Daniel De Graaf > > I am curious as to why this works on x86. The name 'bool' is specified > as an alias for '_Bool' by C99/stdboot.h It's because ARM include indirectly stdbool.h via xen/device_tree.h. I've tried to add "#include " in conditional.h and I get the same compilation error. Regards, -- Julien Grall