From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ferruh Yigit Subject: Re: [PATCH] eal/x86: fix pedantic build Date: Thu, 4 Apr 2019 16:13:40 +0100 Message-ID: <9ef6aa9a-2bf6-8eb9-b184-ce962b2355f8@intel.com> References: <20190404130009.22042-1-thomas@monjalon.net> <3998032.4XeIfXOuir@xps> <9184057F7FC11744A2107296B6B8EB1E54210E11@FMSMSX108.amr.corp.intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Cc: "Richardson, Bruce" , "Ananyev, Konstantin" , "david.marchand@redhat.com" , "alialnu@mellanox.com" To: "Eads, Gage" , Thomas Monjalon , "dev@dpdk.org" Return-path: Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by dpdk.org (Postfix) with ESMTP id 419D21B107 for ; Thu, 4 Apr 2019 17:13:44 +0200 (CEST) In-Reply-To: <9184057F7FC11744A2107296B6B8EB1E54210E11@FMSMSX108.amr.corp.intel.com> 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 4/4/2019 3:14 PM, Eads, Gage wrote: > >> 04/04/2019 15:00, Thomas Monjalon: >>> When enabling pedantic compilation with >> CONFIG_RTE_LIBRTE_MLX5_DEBUG, >>> the compiler complains about non standard 128-bit integer type: >>> >>> include/rte_atomic_64.h:223:3: error: >>> ISO C does not support ‘__int128’ types [-Werror=pedantic] >>> >>> It must be marked as an extension of the standard C language to be >>> accepted in pedantic compilation. >>> >>> Reported-by: Ferruh Yigit >>> Signed-off-by: Thomas Monjalon >> >> Forgot one line: >> >> Fixes: 640c5f09ef2c ("eal/x86: add 128-bit atomic compare exchange") >> >> Note: It seems only Ferruh can reproduce it. >> I wonder whether the RTE_STD_C11 of the union is hiding the issue. >> >> > > With that change: > Acked-by: Gage Eads > I confirm it fixes the build issue: Tested-by: Ferruh Yigit