From patchwork Fri Jan 24 15:37:53 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bruce Richardson X-Patchwork-Id: 65115 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 76FC4A0533; Fri, 24 Jan 2020 16:40:45 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id C4AD42BE5; Fri, 24 Jan 2020 16:40:44 +0100 (CET) Received: from mga14.intel.com (mga14.intel.com [192.55.52.115]) by dpdk.org (Postfix) with ESMTP id B2C392BDB for ; Fri, 24 Jan 2020 16:40:42 +0100 (CET) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga005.jf.intel.com ([10.7.209.41]) by fmsmga103.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 24 Jan 2020 07:40:41 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.70,358,1574150400"; d="scan'208";a="400689094" Received: from silpixa00383876.ir.intel.com (HELO silpixa00383876.ger.corp.intel.com) ([10.237.222.110]) by orsmga005.jf.intel.com with ESMTP; 24 Jan 2020 07:40:40 -0800 From: Bruce Richardson To: dev@dpdk.org Cc: Bruce Richardson Date: Fri, 24 Jan 2020 15:37:53 +0000 Message-Id: <20200124153755.13939-1-bruce.richardson@intel.com> X-Mailer: git-send-email 2.24.1 MIME-Version: 1.0 Subject: [dpdk-dev] [PATCH 0/2] remove compiler warnings with icc using meson 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" While icc can compile DPDK successfully using a meson/ninja build, there are a lot of warnings issued in the process, which means that any use of werror flag will break the build, and the output just looks messy and possibly worrying to the user. To improve this situation, we can fix the warnings about unsupported compiler flags, and just maintain a list of icc warnings to ignore. Bruce Richardson (2): net/octeontx2: check compiler flag before use build: remove warnings for builds with icc config/meson.build | 6 ++++++ drivers/net/octeontx2/meson.build | 4 +--- 2 files changed, 7 insertions(+), 3 deletions(-)