From mboxrd@z Thu Jan 1 00:00:00 1970 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) Received: from orsmga004.jf.intel.com ([10.7.209.38]) by fmsmga104.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 03 Jul 2017 02:18:42 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.40,302,1496127600"; d="scan'208";a="103935263" Received: from fyigit-mobl1.ger.corp.intel.com (HELO [10.237.220.91]) ([10.237.220.91]) by orsmga004.jf.intel.com with ESMTP; 03 Jul 2017 02:18:41 -0700 To: Adrien Mazarguil , dev@dpdk.org Cc: Yongseok Koh References: <4bc47a8c50dc528f8061d95cdd0c0934e4e40b38.1498843072.git.adrien.mazarguil@6wind.com> From: Ferruh Yigit Message-ID: <49af5bdb-c631-7ad1-2f7f-facb93eda7cf@intel.com> Date: Mon, 3 Jul 2017 10:18:40 +0100 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.2.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Subject: Re: [dpdk-dev] [PATCH] net/mlx5: fix compilation issue in debug mode X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 03 Jul 2017 09:18:43 -0000 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.