From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Monjalon Subject: Re: [PATCH] eal/x86: fix pedantic build Date: Thu, 04 Apr 2019 15:22:18 +0200 Message-ID: <3998032.4XeIfXOuir@xps> References: <20190404130009.22042-1-thomas@monjalon.net> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Cc: gage.eads@intel.com, Bruce Richardson , Konstantin Ananyev , Ferruh Yigit , david.marchand@redhat.com, alialnu@mellanox.com To: dev@dpdk.org Return-path: Received: from out5-smtp.messagingengine.com (out5-smtp.messagingengine.com [66.111.4.29]) by dpdk.org (Postfix) with ESMTP id 8BB7D1B115 for ; Thu, 4 Apr 2019 15:22:22 +0200 (CEST) In-Reply-To: <20190404130009.22042-1-thomas@monjalon.net> List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" 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: >=20 > include/rte_atomic_64.h:223:3: error: > ISO C does not support =E2=80=98__int128=E2=80=99 types [-Werror=3Dpedant= ic] >=20 > It must be marked as an extension of the standard C language > to be accepted in pedantic compilation. >=20 > Reported-by: Ferruh Yigit > Signed-off-by: Thomas Monjalon =46orgot one line: =46ixes: 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.