From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: 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 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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: , X-List-Received-Date: Mon, 16 Apr 2018 17:09:35 -0000 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 -- 2.14.3