From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Monjalon Subject: Re: [PATCH v6] eal/x86: add 128-bit atomic compare exchange Date: Thu, 04 Apr 2019 14:12:53 +0200 Message-ID: <3359378.XCyAA4UgPl@xps> References: <20190403193541.28044-1-thomas@monjalon.net> <2055527.rJq3IElKPH@xps> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Cc: Shahaf Shuler , Matan Azrad , Yongseok Koh , dev@dpdk.org, olivier.matz@6wind.com, arybchenko@solarflare.com, bruce.richardson@intel.com, konstantin.ananyev@intel.com, gavin.hu@arm.com, Honnappa.Nagarahalli@arm.com, nd@arm.com, chaozhu@linux.vnet.ibm.com, jerinj@marvell.com, hemant.agrawal@nxp.com To: Ferruh Yigit , Gage Eads Return-path: Received: from out5-smtp.messagingengine.com (out5-smtp.messagingengine.com [66.111.4.29]) by dpdk.org (Postfix) with ESMTP id 49F651B11C for ; Thu, 4 Apr 2019 14:12:58 +0200 (CEST) In-Reply-To: <2055527.rJq3IElKPH@xps> 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 14:08, Thomas Monjalon: > 04/04/2019 13:47, Ferruh Yigit: > > .../dpdk/x86_64-native-linuxapp-gcc/include/rte_atomic_64.h:223:3: erro= r: ISO C > > does not support =E2=80=98__int128=E2=80=99 types [-Werror=3Dpedantic] >=20 > We can try this kind of workaround (disable pedantic locally): > https://github.com/HowardHinnant/date/pull/38/commits/177032852d5b4614112= ca1ab3ef42d6b41824816 Or better: __extension__ typedef __int128 int128;