From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga14.intel.com (mga14.intel.com [192.55.52.115]) by dpdk.org (Postfix) with ESMTP id 12CAD2583 for ; Tue, 29 May 2018 17:00:12 +0200 (CEST) X-Amp-Result: UNKNOWN X-Amp-Original-Verdict: FILE UNKNOWN X-Amp-File-Uploaded: False Received: from fmsmga006.fm.intel.com ([10.253.24.20]) by fmsmga103.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 29 May 2018 08:00:11 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.49,456,1520924400"; d="scan'208";a="232842940" Received: from bricha3-mobl.ger.corp.intel.com ([10.237.221.55]) by fmsmga006.fm.intel.com with SMTP; 29 May 2018 08:00:10 -0700 Received: by (sSMTP sendmail emulation); Tue, 29 May 2018 16:00:08 +0100 Date: Tue, 29 May 2018 16:00:08 +0100 From: Bruce Richardson To: Thomas Monjalon Cc: Gavin Hu , dev@dpdk.org Message-ID: <20180529150008.GA25480@bricha3-MOBL.ger.corp.intel.com> References: <1527133127-29407-1-git-send-email-gavin.hu@arm.com> <1527490428-15540-1-git-send-email-gavin.hu@arm.com> <20180528132402.GC8752@bricha3-MOBL.ger.corp.intel.com> <3461471.4uoUW6OFvL@xps> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <3461471.4uoUW6OFvL@xps> Organization: Intel Research and Development Ireland Ltd. User-Agent: Mutt/1.10.0 (2018-05-17) Subject: Re: [dpdk-dev] [dpdk-stable] [PATCH v2 1/2] mk: fix cross build errors 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: Tue, 29 May 2018 15:00:13 -0000 On Tue, May 29, 2018 at 04:45:55PM +0200, Thomas Monjalon wrote: > 28/05/2018 15:24, Bruce Richardson: > > Would a simpler solution for this not be to put "-Wno-implicit-fallthrough" > > for pmdinfogen? GCC will not give a warning for an unrecognised "-Wno" > > flag when compiling, unless there are other errors. This means we can just > > use the flag without bothering with version checks. > > No, it does not work. > I have this error with clang 5.0.1: > error: unknown warning option '-Wno-format-truncation' > Yes, you still need to check for GCC to use the flag, just not for a specific version of GCC. /Bruce