From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ferruh Yigit Subject: Re: [PATCH] net/mlx5: fix compilation issue in debug mode Date: Mon, 3 Jul 2017 10:18:40 +0100 Message-ID: <49af5bdb-c631-7ad1-2f7f-facb93eda7cf@intel.com> References: <4bc47a8c50dc528f8061d95cdd0c0934e4e40b38.1498843072.git.adrien.mazarguil@6wind.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Cc: Yongseok Koh To: Adrien Mazarguil , dev@dpdk.org Return-path: Received: from mga04.intel.com (mga04.intel.com [192.55.52.120]) by dpdk.org (Postfix) with ESMTP id 6D3D82B8B for ; Mon, 3 Jul 2017 11:18:43 +0200 (CEST) In-Reply-To: Content-Language: en-US List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" On 7/3/2017 9:27 AM, Adrien Mazarguil wrote: > Even in C11, using types other than _Bool or signed/unsigned int for > bit-fields is an extension. Some GCC versions complain about that when > -pedantic checks are enabled. > > The RTE_STD_C11 macro correctly prevented this issue with C99 but not with > C11 as it becomes a no-op. Forcing the extension keyword addresses it. > > Fixes: 143c03925695 ("net/mlx: update C compliance standard") > > Signed-off-by: Adrien Mazarguil > Tested-by: Yongseok Koh > --- > Ferruh, squashing this commit with the previous one and discarding its > log is fine if you want. Thanks. Squashed into relevant commit in next-net, thanks.