From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by dpdk.space (Postfix) with ESMTP id 3021BA0679 for ; Thu, 4 Apr 2019 15:00:28 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id C448356A1; Thu, 4 Apr 2019 15:00:26 +0200 (CEST) Received: from out5-smtp.messagingengine.com (out5-smtp.messagingengine.com [66.111.4.29]) by dpdk.org (Postfix) with ESMTP id CA9F5A3 for ; Thu, 4 Apr 2019 15:00:25 +0200 (CEST) Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id 51F0421F40; Thu, 4 Apr 2019 09:00:25 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute1.internal (MEProxy); Thu, 04 Apr 2019 09:00:25 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monjalon.net; h= from:to:cc:subject:date:message-id:mime-version:content-type :content-transfer-encoding; s=mesmtp; bh=TYhGnp+/Xoraw1Rj0WlD+27 8WAOmKL/WppnLp5wa1t8=; b=pROZqyE4SdNgPyqEi8PZGkIzE85RYf0mHKqWk2z HnO71jbmRhLnhG+4A0N5oz3J3sknvmaRQA/G3tdaq/3GQ4Eq10dc0rBh5ZpAVmgF tx4KZMHWRrONyrc09gkyPcBuEI3PTfVnxggjw6p+iida94uCwMGw0C59z5b1Yoar hJBQ= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:message-id:mime-version:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm2; bh=TYhGnp +/Xoraw1Rj0WlD+278WAOmKL/WppnLp5wa1t8=; b=XUivcrflYjmrOBuZLHSWH2 2roQxApsGyo6HlrZHZU09oXMFKskavQXy5q0qMwQKYpYTBNBTR3ECBBtZkZA4mV9 17GiboFGHbt5h7tMSCumimTFfObOZ7+YDKnE6FllsmvvnHiZPWyEnhWdKytDVoER WlYPZT98JciCyoBURwAkmdrzZzeRaNi5fcUKPOvYalYFUMhOBGUyRyBLTw+2JQ5U UxZRtBZQPHfgO3d9ICTua/A2pPA5veT4eyrU1LHyGaHMXOAITqiUPaYD27eT85xm bJB7suGwioExFwYsaCD2iWhmSfwcigQEWYRUpqLsSs7z5BU0XA2wHKFttMLPYgiQ == X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduuddrtdehgdehkeculddtuddrgedutddrtddtmd cutefuodetggdotefrodftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdp uffrtefokffrpgfnqfghnecuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivg hnthhsucdlqddutddtmdenucfjughrpefhvffufffkofggtgfgsehtkeertdertdejnecu hfhrohhmpefvhhhomhgrshcuofhonhhjrghlohhnuceothhhohhmrghssehmohhnjhgrlh honhdrnhgvtheqnecukfhppeejjedrudefgedrvddtfedrudekgeenucfrrghrrghmpehm rghilhhfrhhomhepthhhohhmrghssehmohhnjhgrlhhonhdrnhgvthenucevlhhushhtvg hrufhiiigvpedt X-ME-Proxy: Received: from xps.monjalon.net (184.203.134.77.rev.sfr.net [77.134.203.184]) by mail.messagingengine.com (Postfix) with ESMTPA id 3F13210394; Thu, 4 Apr 2019 09:00:23 -0400 (EDT) From: Thomas Monjalon To: gage.eads@intel.com, Bruce Richardson , Konstantin Ananyev Cc: dev@dpdk.org, Ferruh Yigit Date: Thu, 4 Apr 2019 15:00:09 +0200 Message-Id: <20190404130009.22042-1-thomas@monjalon.net> X-Mailer: git-send-email 2.21.0 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8bit Subject: [dpdk-dev] [PATCH] eal/x86: fix pedantic build 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: , Errors-To: dev-bounces@dpdk.org Sender: "dev" Message-ID: <20190404130009.GI7CkAOTmQ7NSrJEY2_R1e9031kRk0wiwdiEU-vqJvo@z> 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 --- lib/librte_eal/common/include/arch/x86/rte_atomic_64.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/librte_eal/common/include/arch/x86/rte_atomic_64.h b/lib/librte_eal/common/include/arch/x86/rte_atomic_64.h index 4b8315926..6232c57d9 100644 --- a/lib/librte_eal/common/include/arch/x86/rte_atomic_64.h +++ b/lib/librte_eal/common/include/arch/x86/rte_atomic_64.h @@ -220,7 +220,7 @@ typedef struct { RTE_STD_C11 union { uint64_t val[2]; - __int128 int128; + __extension__ __int128 int128; }; } __rte_aligned(16) rte_int128_t; -- 2.21.0