From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Monjalon Subject: Re: [dpdk-stable] [PATCH v2 1/2] mk: fix cross build errors Date: Tue, 29 May 2018 16:45:55 +0200 Message-ID: <3461471.4uoUW6OFvL@xps> 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> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7Bit Cc: dev@dpdk.org To: Bruce Richardson , Gavin Hu Return-path: Received: from out1-smtp.messagingengine.com (out1-smtp.messagingengine.com [66.111.4.25]) by dpdk.org (Postfix) with ESMTP id 74C332E81 for ; Tue, 29 May 2018 16:45:57 +0200 (CEST) In-Reply-To: <20180528132402.GC8752@bricha3-MOBL.ger.corp.intel.com> List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" 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'