From mboxrd@z Thu Jan 1 00:00:00 1970 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) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=6wind-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:organization:user-agent :in-reply-to:references:mime-version:content-transfer-encoding :content-type; bh=z8EjdyaVfteSShJKMIKsBrzFV1m+3B4G2QJxo3gpszc=; b=iPpn3XhiSzs0SyM7QaSXZj7avZHF7m+DarykEQlFlL00tKy5FIw4EDTtQkBEq+z7C8 g4v2eyW/whhdCdjhjhsITfCP7J9A1fNmWLXQAcJ01AJEYKzfGuLgELf6Jwc+Kq8jzWOb TEE7g8M2+Tznjh0mfKpa4cRYaKKiK/sbXcZ0fIp2iG8+9cMIzl93+CCy7azP68JDu+1G 4+hCSEMXRPOmmKykAiAtuT9DMj2F/hvUkrYiAWzhOSwS8tIraQEfhihQhf67hG1/ErIR 9OOHuCY6pQiiOhORm06RKmf6dWZjuJx3lbg/NwjzzqCBxG+sMSTH/eOVedAuDHtoL4Es I2Xg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:organization :user-agent:in-reply-to:references:mime-version :content-transfer-encoding:content-type; bh=z8EjdyaVfteSShJKMIKsBrzFV1m+3B4G2QJxo3gpszc=; b=fZdRP9xaKtvZ5c8kQjqc/Zzvb4f4dUlB36fs7Vyq2iNfSKsj7897gdqw3P/BWlY5hi 20eXJGP/4AOU+I1Wg5xGNl/R7sj4teLECf/n2Bq2oqhQnkvqD327jGeX0vIxQM/n/Eb1 DbLcjoRiYeXjvvjMLivrckNIrysPU0hPCenEUkwKQM7y3bw+m1YYkGPJvcOK1/dHOkA/ ymnCkLLHwg+wGbXkx8Jn63Afg1W8+RyR60YqheuMHr3s/kM6isIAE4/oWQYSkcJlxEER Rb9YeWoL0yZWQh4+gsRTLwiZi76M4HZ1JWaGixlWhj/YAzEKKGK7XZRGdBBoUy7r2Byh HDtw== X-Gm-Message-State: ALoCoQm2HaP5fmt/8qw+3u5Fa8h97wctcsegvXwF5buZfzCHMJ3RFc0A3d5zB4EsZWXklIrSFSpiMSKCluMBrswYeYGxeoc9wg== X-Received: by 10.28.94.1 with SMTP id s1mr22705297wmb.60.1449524538010; Mon, 07 Dec 2015 13:42:18 -0800 (PST) Received: from xps13.localnet (136-92-190-109.dsl.ovh.fr. [109.190.92.136]) by smtp.gmail.com with ESMTPSA id kb5sm12785wjc.20.2015.12.07.13.42.16 (version=TLSv1/SSLv3 cipher=OTHER); Mon, 07 Dec 2015 13:42:17 -0800 (PST) From: Thomas Monjalon To: Simon =?ISO-8859-1?Q?K=E5gstr=F6m?= Date: Mon, 07 Dec 2015 22:41:04 +0100 Message-ID: <2719742.WUZHu1RK4D@xps13> Organization: 6WIND User-Agent: KMail/4.14.10 (Linux/4.1.6-1-ARCH; KDE/4.14.11; x86_64; ; ) In-Reply-To: <56658E6D.6060901@netinsight.net> References: <56658E6D.6060901@netinsight.net> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="iso-8859-1" Cc: dev@dpdk.org Subject: Re: [dpdk-dev] [PATCH] mk: fix warning spew when EXTRA_CFLAGS specifies warning flags X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 07 Dec 2015 21:42:18 -0000 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