From patchwork Mon Apr 16 17:09:29 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Ferruh Yigit X-Patchwork-Id: 38252 X-Patchwork-Delegate: ferruh.yigit@amd.com Return-Path: X-Original-To: patchwork@dpdk.org Delivered-To: patchwork@dpdk.org Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id F36D4D149; Mon, 16 Apr 2018 19:09:35 +0200 (CEST) Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by dpdk.org (Postfix) with ESMTP id 938E7D148 for ; Mon, 16 Apr 2018 19:09:34 +0200 (CEST) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga006.fm.intel.com ([10.253.24.20]) by orsmga102.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 16 Apr 2018 10:09:32 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.48,459,1517904000"; d="scan'208";a="220857181" Received: from silpixa00399777.ir.intel.com (HELO silpixa00399777.ger.corp.intel.com) ([10.237.222.236]) by fmsmga006.fm.intel.com with ESMTP; 16 Apr 2018 10:09:31 -0700 From: Ferruh Yigit To: Andrew Rybchenko Cc: dev@dpdk.org, Ferruh Yigit , Bruce Richardson Date: Mon, 16 Apr 2018 18:09:29 +0100 Message-Id: <20180416170930.56225-1-ferruh.yigit@intel.com> X-Mailer: git-send-email 2.14.3 MIME-Version: 1.0 Subject: [dpdk-dev] [PATCH] net/sfc: fix meson build warning with gcc 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" icc flag is causing build error with gcc, build error: cc1: warning: unrecognized gcc debugging option: i cc1: warning: unrecognized gcc debugging option: g cc1: warning: unrecognized gcc debugging option: - cc1: warning: unrecognized gcc debugging option: d cc1: warning: unrecognized gcc debugging option: i cc1: warning: unrecognized gcc debugging option: s cc1: warning: unrecognized gcc debugging option: b cc1: warning: unrecognized gcc debugging option: l cc1: warning: unrecognized gcc debugging option: e cc1: warning: unrecognized gcc debugging option: cc1: warning: unrecognized gcc debugging option: 3 cc1: warning: unrecognized gcc debugging option: 6 cc1: warning: unrecognized gcc debugging option: 5 cc1: warning: unrecognized gcc debugging option: 6 cc1: warning: unrecognized command line option ‘-Wno-address-of-packed-member’ Removing icc flag completely since it is not supported right now. Fixes: f16d0b36f816 ("drivers/net: fix icc deprecated parameter warning") Signed-off-by: Ferruh Yigit --- Cc: Bruce Richardson --- drivers/net/sfc/meson.build | 4 ---- 1 file changed, 4 deletions(-) diff --git a/drivers/net/sfc/meson.build b/drivers/net/sfc/meson.build index a37fc44a7..0de2e17fe 100644 --- a/drivers/net/sfc/meson.build +++ b/drivers/net/sfc/meson.build @@ -30,10 +30,6 @@ extra_flags += [ '-Wbad-function-cast' ] -# Suppress ICC false positive warning on 'bulk' may be used before its -# value is set -extra_flags += '-diag-disable 3656' - foreach flag: extra_flags if cc.has_argument(flag) cflags += flag