From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id EF82EA0548; Mon, 26 Apr 2021 17:58:56 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 71B6941110; Mon, 26 Apr 2021 17:58:56 +0200 (CEST) Received: from mail-lf1-f41.google.com (mail-lf1-f41.google.com [209.85.167.41]) by mails.dpdk.org (Postfix) with ESMTP id E486341104 for ; Mon, 26 Apr 2021 17:58:55 +0200 (CEST) Received: by mail-lf1-f41.google.com with SMTP id w9so5177449lfr.12 for ; Mon, 26 Apr 2021 08:58:55 -0700 (PDT) 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=jTCfv29DzhBtU/uf7fFT1BoHnSIfGkZ0Su0oTIo0HPY=; b=BOTkqihZn/Re91l/27VRuNQ/eJV7uYU4QjQWvSpvN2y6uJLztf1Dj9Qn2pEa9FADTY 3IO/qU8f7q7HMQbImwVeQ7hbml1wDiDsXH+wQ/WxfSYjvORMlH9mrgrAj0FTQgluuDXh PlD/tnCoB5K+VHMFJIu90Ca+2F6kjiTfFLICV/Hs9JI5JtOUWxHbyQi8oly+z+Q5A6Cj XqQnQCtYmvmlcr0BtNO5qyGIkhNAn/doOadfPL61QG+ONCWGqdjidRZrXLMAVKxM1MzK /R9OfoyzRqUXFDMHShvHkFzzCZRoSB4DfzuSMKLF7OzakFrNALZd4Gq/MqNGXb74ilNQ yUEA== 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=jTCfv29DzhBtU/uf7fFT1BoHnSIfGkZ0Su0oTIo0HPY=; b=RmT6wmtg+A9K6ph2hjVvFk9HdIMxJQnZT74JaN6AiRLbRDqL6zB08XWhiTQtedkndE H2gGJDhDn7ajlVgkXhokr9SN1IfYHgv1v5TkdssMRRXSiP+wIeyZ+hKNUO4n9HH85Z9t 1m260CvSNrGfqpVo6iTEmElZZb6hyy3krBLQ260Vm/8i48juZ4tCJ/ibuyFP9+ddpFUa V7Et7LZBsFVTwmRBvfPum2b3GfWdv/eYW8pzS/GGxVOGL+Z0KUfLNAMy4LGT7VlGbRki 6bQAyYCUtsI+Y+tHVocAu7D6KQg92TK8qTcRjJyKI3bYVsOsRK4/fK5E7ZG7jN+i7hKn WhYA== X-Gm-Message-State: AOAM530n4EY8m+1+WM1Ve4kSGoltY9uaYadsABwoY8jsrd5JIPD06cLa /papjuJO+WtYppnKGrQV6dY= X-Google-Smtp-Source: ABdhPJyjg/AhLgdQ/7oJ8fN8LI2uluhcAOBAWr1mLWuKiepQ5Zy8VmMCOjKWjX9KdP4OJTPYZbPqhg== X-Received: by 2002:a19:ec08:: with SMTP id b8mr13334851lfa.149.1619452735428; Mon, 26 Apr 2021 08:58:55 -0700 (PDT) Received: from sovereign (broadband-37-110-65-23.ip.moscow.rt.ru. [37.110.65.23]) by smtp.gmail.com with ESMTPSA id s16sm41876ljd.91.2021.04.26.08.58.54 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 26 Apr 2021 08:58:54 -0700 (PDT) Date: Mon, 26 Apr 2021 18:58:53 +0300 From: Dmitry Kozlyuk To: Tal Shnaiderman Cc: dev@dpdk.org, thomas@monjalon.net, pallavi.kadam@intel.com, navasile@linux.microsoft.com, dmitrym@microsoft.com Message-ID: <20210426185853.092e098e@sovereign> In-Reply-To: <20210421160942.17700-1-talshn@nvidia.com> References: <20210418170803.15684-1-talshn@nvidia.com> <20210421160942.17700-1-talshn@nvidia.com> X-Mailer: Claws Mail 3.17.6 (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 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" 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