From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-10.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id BEE90C433B4 for ; Tue, 4 May 2021 17:17:06 +0000 (UTC) Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by mail.kernel.org (Postfix) with ESMTP id 24AC9613B4 for ; Tue, 4 May 2021 17:17:06 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 24AC9613B4 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=monjalon.net Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=dev-bounces@dpdk.org Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 498FD4014D; Tue, 4 May 2021 19:17:05 +0200 (CEST) Received: from out5-smtp.messagingengine.com (out5-smtp.messagingengine.com [66.111.4.29]) by mails.dpdk.org (Postfix) with ESMTP id DF37C40147 for ; Tue, 4 May 2021 19:17:03 +0200 (CEST) Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailout.nyi.internal (Postfix) with ESMTP id 7D0B55C0067; Tue, 4 May 2021 13:17:03 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute3.internal (MEProxy); Tue, 04 May 2021 13:17:03 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monjalon.net; h= from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding:content-type; s=fm1; bh= diTQqF/M+qXH7mOW2Ix1NoLDNgo3QsnQYYSCZWTHFUU=; b=cESb8/Sn+/ZFuCNx 2vsATMJMv8m2c7AY0nkS8wrKTHJitiTqvfHA4n0wTdhjpZMN9CIGyZ8+xszITpcU JYe4MorAd6TD8185NWwR5pPV5AUj3ARFaoO3F1VPkPDlOGEu4flq40s8nu9bH6ZZ olv70KcgzD03LpFc4ZunkZs3qj+vn3kjVU2HzZEuzL9kJtexj7oVZ9qxTP0wOXyR MWTeX79qX/uvRgp+mW9LVz1Q6WRA00YRVCrlNFH+dotzfegBV9mhVK08YqnVpO8S ucX8n2e6CWDReSvWcStUGFppiY/rdcWV5XCkOjDTGdGGHvex8fuQnKhVIuXCa/Pw 3VjEjQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm2; bh=diTQqF/M+qXH7mOW2Ix1NoLDNgo3QsnQYYSCZWTHF UU=; b=aBZw1eCrwAqKDSpWBSousyMdmiqOm1MyI6dYgb5yoii8VWHIAO8VpKQ10 iMS6+eXh4FtztWkR6Ew1lgwZQVLrxfB9gpKxnp7Rt9m+RhoVW5NMpYbutXiqOzlj 7r3GPm4K/qKoeBrZ3qU/usT1xsu5sk9/w8qnq4QZkTGx4hQZdel4ldwcrAJD+/ql IAMXrVGgQyYOLRdbmSBt21SIrL5xyTQk/K/GkscJG4PiryjQ7935YRfXppFM4S1q VgvehVtGsLHSUlptt1eAsyWrUIas/T9Wi8iqEXsA0nHsflM+WwJmoCKhj4TFoCX3 54ImM0eeIQdIQARenxYhKDSmxavXQ== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduledrvdefiedgudduvdcutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmd enucfjughrpefhvffufffkjghfggfgtgesthfuredttddtvdenucfhrhhomhepvfhhohhm rghsucfoohhnjhgrlhhonhcuoehthhhomhgrshesmhhonhhjrghlohhnrdhnvghtqeenuc ggtffrrghtthgvrhhnpedugefgvdefudfftdefgeelgffhueekgfffhfeujedtteeutdej ueeiiedvffegheenucfkphepjeejrddufeegrddvtdefrddukeegnecuvehluhhsthgvrh fuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomhepthhhohhmrghssehmohhnjhgr lhhonhdrnhgvth X-ME-Proxy: Received: from xps.localnet (184.203.134.77.rev.sfr.net [77.134.203.184]) by mail.messagingengine.com (Postfix) with ESMTPA; Tue, 4 May 2021 13:17:02 -0400 (EDT) From: Thomas Monjalon To: Tal Shnaiderman Cc: dev@dpdk.org, pallavi.kadam@intel.com, navasile@linux.microsoft.com, dmitrym@microsoft.com, Dmitry Kozlyuk Date: Tue, 04 May 2021 19:17:01 +0200 Message-ID: <3287565.MObxxFLoxm@thomas> In-Reply-To: <20210426185853.092e098e@sovereign> References: <20210418170803.15684-1-talshn@nvidia.com> <20210421160942.17700-1-talshn@nvidia.com> <20210426185853.092e098e@sovereign> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Subject: Re: [dpdk-dev] [PATCH v2] eal/windows: fix build warnings in MinGW X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 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" 26/04/2021 17:58, Dmitry Kozlyuk: > 2021-04-21 19:09 (UTC+0300), Tal Shnaiderman: > > the strncasecmp macro defined in rte_os_shim.h is already > > defined in MinGW-w64, as a result the compiler prints out > > the warning below on function redefinition whenever compiling > > a file including the header in debug mode. > > > > ..\lib/librte_eal/windows/include/rte_os_shim.h:21: > > warning: "strncasecmp" redefined > > #define strncasecmp(s1, s2, count) _strnicmp(s1, s2, count) > > > > Fixed by defining the macro only to the clang compiler. > > > > Fixes: 45d62067c237 ("eal: make OS shims internal") > > > > Signed-off-by: Tal Shnaiderman > > With librte_eal -> eal fixup, > Acked-by: Dmitry Kozlyuk Applied, thanks.