From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ian Campbell Subject: Re: [PATCH for-4.6] xen/public: arm: Use __typeof__ rather than typeof Date: Fri, 23 Oct 2015 14:30:59 +0100 Message-ID: <1445607059.2374.165.camel@citrix.com> References: <1443986642-24392-1-git-send-email-julien.grall@citrix.com> <562A3295.6010901@citrix.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 1ZpcQx-0003Hx-EB for xen-devel@lists.xenproject.org; Fri, 23 Oct 2015 13:31:03 +0000 In-Reply-To: <562A3295.6010901@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: Julien Grall , xen-devel@lists.xenproject.org Cc: Tim Deegan , Keir Fraser , Ian Jackson , Jan Beulich , Wei.Liu2@citrix.com List-Id: xen-devel@lists.xenproject.org On Fri, 2015-10-23 at 14:13 +0100, Julien Grall wrote: > Hi, > > On 04/10/15 20:24, Julien Grall wrote: > > The keyword typeof is not portable: > > > > /usr/src/freebsd/sys/xen/hypervisor.h:93:2: error: implicit declaration > > of function 'typeof' is invalid in C99 > > [-Werror,-Wimplicit-function-declaration] > > Ping? Aside the fact that other bits of the header may not be iso > compliant, I still think this patch is valid. Yes, I agree. Acked-by: Ian Campbell Jan, after your earlier comments are you happy to go ahead with this for now and sort the other possible issues separately? > > FWIW, it fixed build of the FreeBSD kernel for ARM64 with Xen enabled. > > Regards, >