From mboxrd@z Thu Jan 1 00:00:00 1970 From: Julien Grall Subject: Re: [PATCH for-4.6] xen/public: arm: Use __typeof__ rather than typeof Date: Fri, 23 Oct 2015 14:13:57 +0100 Message-ID: <562A3295.6010901@citrix.com> References: <1443986642-24392-1-git-send-email-julien.grall@citrix.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mail6.bemta5.messagelabs.com ([195.245.231.135]) by lists.xen.org with esmtp (Exim 4.72) (envelope-from ) id 1ZpcBp-0000rs-EC for xen-devel@lists.xenproject.org; Fri, 23 Oct 2015 13:15:25 +0000 In-Reply-To: <1443986642-24392-1-git-send-email-julien.grall@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: xen-devel@lists.xenproject.org Cc: Keir Fraser , ian.campbell@citrix.com, Tim Deegan , Ian Jackson , Jan Beulich , Wei.Liu2@citrix.com List-Id: xen-devel@lists.xenproject.org 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. FWIW, it fixed build of the FreeBSD kernel for ARM64 with Xen enabled. Regards, -- Julien Grall