From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Monjalon Subject: Re: [PATCH] mk: fix warning spew when EXTRA_CFLAGS specifies warning flags Date: Mon, 07 Dec 2015 22:41:04 +0100 Message-ID: <2719742.WUZHu1RK4D@xps13> References: <56658E6D.6060901@netinsight.net> Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Cc: dev@dpdk.org To: Simon =?ISO-8859-1?Q?K=E5gstr=F6m?= Return-path: Received: from mail-wm0-f52.google.com (mail-wm0-f52.google.com [74.125.82.52]) by dpdk.org (Postfix) with ESMTP id 30966E72 for ; Mon, 7 Dec 2015 22:42:18 +0100 (CET) Received: by wmww144 with SMTP id w144so158150327wmw.1 for ; Mon, 07 Dec 2015 13:42:18 -0800 (PST) In-Reply-To: <56658E6D.6060901@netinsight.net> List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" 2015-12-07 14:49, Simon K=E5gstr=F6m: > On 2015-12-07 13:56, Panu Matilainen wrote: > > Starting with commit 9aa2053c6e81493b23346ff4e387903560de5c81 > > EXTRA_CFLAGS is sometimes being passed to the compiler without > > WERROR_FLAGS which can cause spurious warnings by the dozen, > > for example with when compiling with EXTRA_CFLAGS=3D"-Wformat-secur= ity": > >=20 > > cc1: warning: -Wformat-security ignored without -Wformat [-Wformat-= security] > >=20 > > Passing WERROR_FLAGS to AUTO_CPU helper makes the warning flag usag= e > > consistent throughout the codebase, silencing the warnings. >=20 > Acked-by: Simon Kagstrom Applied, thanks