From patchwork Thu May 28 23:14:53 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Kadam, Pallavi" X-Patchwork-Id: 70687 Return-Path: X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 8D33DA0350; Fri, 29 May 2020 01:15:36 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 96BA81DBDF; Fri, 29 May 2020 01:15:35 +0200 (CEST) Received: from mga14.intel.com (mga14.intel.com [192.55.52.115]) by dpdk.org (Postfix) with ESMTP id 085221DB49 for ; Fri, 29 May 2020 01:15:33 +0200 (CEST) IronPort-SDR: XoGl+ELswaLrSxdevr3JF+0JHRojGwv5OeIchqiA1W2M+EdFJpkd2vi/tJymqSnZkBLSMdOyez wp3ZzQ2QevUg== X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga006.jf.intel.com ([10.7.209.51]) by fmsmga103.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 28 May 2020 16:15:32 -0700 IronPort-SDR: DCeULDehAkNyeD1JZEYycQ5H9yPuvvJTT+Msvbuj0Y+Q6DlL4vXk+Od3XL1mWqHTdxtNM+30+s M0R3CQAuJpaQ== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.73,446,1583222400"; d="scan'208";a="271022390" Received: from win-dpdk-pallavi.jf.intel.com (HELO localhost.localdomain) ([10.166.188.75]) by orsmga006.jf.intel.com with ESMTP; 28 May 2020 16:15:32 -0700 From: Pallavi Kadam To: dev@dpdk.org, thomas@monjalon.net Cc: ranjit.menon@intel.com, dmitry.kozliuk@gmail.com, Narcisa.Vasile@microsoft.com, tbashar@mellanox.com, Harini.Ramakrishnan@microsoft.com, pallavi.kadam@intel.com Date: Thu, 28 May 2020 16:14:53 -0700 Message-Id: <20200528231455.13636-1-pallavi.kadam@intel.com> X-Mailer: git-send-email 2.18.0.windows.1 In-Reply-To: <20200514203945.1484-1-pallavi.kadam@intel.com> References: <20200514203945.1484-1-pallavi.kadam@intel.com> Subject: [dpdk-dev] [PATCH v3 0/2] Fix Windows compiler warnings 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" This patchset fixes all the Windows compiler warnings generated using Clang and MinGW compiler. Henceforth, all the warnings will be treated as errors on Windows. v3 changes: Fixed pthread warning Added -Werror on Windows Fixed MinGW warnings v2 changes: Excluded dirent.h file on Windows temporarily. (This file will stay on Windows for later use) Pallavi Kadam (2): eal: fix warnings on Windows build: treat warning as an error on Windows config/meson.build | 4 ++++ lib/librte_eal/common/eal_common_options.c | 8 +++++++- lib/librte_eal/windows/eal.c | 2 +- lib/librte_eal/windows/eal_lcore.c | 2 +- lib/librte_eal/windows/eal_thread.c | 3 ++- lib/librte_eal/windows/getopt.c | 4 ++-- lib/librte_eal/windows/include/pthread.h | 6 ++++-- 7 files changed, 21 insertions(+), 8 deletions(-)