From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 67FEAA056C; Tue, 3 Mar 2020 23:29:00 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 795751BFF0; Tue, 3 Mar 2020 23:28:59 +0100 (CET) Received: from mail-lj1-f195.google.com (mail-lj1-f195.google.com [209.85.208.195]) by dpdk.org (Postfix) with ESMTP id 41DA01BFE9 for ; Tue, 3 Mar 2020 23:28:58 +0100 (CET) Received: by mail-lj1-f195.google.com with SMTP id e18so5322302ljn.12 for ; Tue, 03 Mar 2020 14:28:58 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:cc:subject:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=Y1O9nBUr7gk08HokqWfc5eQoIx6pDR/MtxJO5DwbGII=; b=Jkka+M++B+NsLyDEyWH+PC7T8G/8R40AoHMjCb2bR8ois1lad8Hdc6eDj4NkFWZi+k 2UqMlyZk+NCkCpKtA74SbIKcSmxBB92gTXupSCvmPtqKO3GtwBTzO8qFUaP1SG52wxUr DgLH7shRJIJzuYDAqp6uUgLQTkWBse705Zg12IpB5Q8tVqYEtjGYOfwvk1TtDVXS9RIc l8teQrHyMUgkk4ksVLKUZprbcX/oh7mCrXgu4wW8H4seyHF8jmQtsY5oV6mJJ5iSMiJ+ h2t5YN22GBNWcOhnswPQmYliJj1tRxftN24VG7OFNAUthgGYS0sAh7axsv281HjZQafH bTdg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=Y1O9nBUr7gk08HokqWfc5eQoIx6pDR/MtxJO5DwbGII=; b=Z5keWA15NSCyELiqeHTlba/t75euOl9zoU6AqSAU7mFT5qtZxkgq8aD0K6HZnYER7d w6wzPqsKqedOZgSbQE/zyGSAKje71X/6WCxkbyAOFhr7yvavEDnCA4MW5nrzCuVlIa4F 8F5FFU+r9GsplXiIUH0TrsKhyjnkPpsl2zkRbRuDqDnh+ac7EC7jjzSd0yvDtxWmQGna G5MqTALPaMhZWRc6tE3rY1ky0sf4AdPtHtI3l3Yz24UHBLuER2ggHzEgXpYbqDyR35k/ fEBPDmoFScwbdRdYknPxsZ7BcCd2ImzMlY6FIEqFC4G5KMBKN7RorQoTMg5qIhadsEgP b3vQ== X-Gm-Message-State: ANhLgQ0WnKveQkT5ukMYgukWZhlgfLs6oo7owHJGL5nPAOYrB0UG2zHL ymtxOtR3QGAUqFGmqh8/3RY= X-Google-Smtp-Source: ADFU+vvcSQqeBRmuT0cNMgmnQSNWvocr/okQ6yLSNR1Li2tQ48kD0oZ/RorPUI/rGPVNldvvzlCz6A== X-Received: by 2002:a2e:8698:: with SMTP id l24mr92693lji.94.1583274537582; Tue, 03 Mar 2020 14:28:57 -0800 (PST) Received: from Sovereign (broadband-37-110-65-23.ip.moscow.rt.ru. [37.110.65.23]) by smtp.gmail.com with ESMTPSA id 186sm12835255lfi.32.2020.03.03.14.28.56 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 03 Mar 2020 14:28:56 -0800 (PST) Date: Wed, 4 Mar 2020 01:28:55 +0300 From: Dmitry Kozlyuk To: Stephen Hemminger Cc: ajit.khaparde@broadcom.com, somnath.kotur@broadcom.com, dev@dpdk.org Message-ID: <20200304012855.52e66a78@Sovereign> In-Reply-To: <20200303175938.14292-2-stephen@networkplumber.org> References: <20200303175938.14292-1-stephen@networkplumber.org> <20200303175938.14292-2-stephen@networkplumber.org> X-Mailer: Claws Mail 3.17.4 (GTK+ 2.24.32; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: [dpdk-dev] [PATCH 1/6] eal: add portable way to check for math overflow 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" > +#if defined(__has_builtin) > +# if __has_builtin(__builtin_add_overflow) > +# define RTE_HAVE_BUILTIN_OVERFLOW > +# endif > +#elif defined(RTE_TOOLCHAIN_GCC) && (GCC_VERSION >= 5000) > +# define RTE__HAVE_BUILTIN_OVERFLOW Excessive underline after RTE results in RTE_HAVE_BUILTIN_OVERFLOW not being defined. -- Dmitry Kozlyuk