DPDK patches and discussions
 help / color / mirror / Atom feed
From: Luca Boccassi <bluca@debian.org>
To: dev@dpdk.org
Cc: bruce.richardson@intel.com
Subject: [dpdk-dev] [PATCH v2 2/4] build: use -Wno-error=format-security for Meson ifpga_rawdev build
Date: Fri, 31 Aug 2018 11:41:52 +0100
Message-ID: <20180831104154.20938-2-bluca@debian.org> (raw)
In-Reply-To: <20180831104154.20938-1-bluca@debian.org>

This PMD is built with -Wno-format, which means GCC errors out if
-Wformat-security is used.

Fixes: 56bb54ea1bdf ("raw/ifpga/base: add Intel FPGA OPAE share code")

Signed-off-by: Luca Boccassi <bluca@debian.org>
---
v2: re-arranged flags

 drivers/raw/ifpga_rawdev/base/meson.build | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/raw/ifpga_rawdev/base/meson.build b/drivers/raw/ifpga_rawdev/base/meson.build
index cb6553521d..03f5112caa 100644
--- a/drivers/raw/ifpga_rawdev/base/meson.build
+++ b/drivers/raw/ifpga_rawdev/base/meson.build
@@ -18,8 +18,8 @@ sources = [
 ]
 
 error_cflags = ['-Wno-sign-compare', '-Wno-unused-value',
-		'-Wno-format', '-Wno-unused-but-set-variable',
-		'-Wno-strict-aliasing'
+		'-Wno-format', '-Wno-error=format-security',
+		'-Wno-strict-aliasing', '-Wno-unused-but-set-variable'
 ]
 c_args = cflags
 foreach flag: error_cflags
-- 
2.18.0

  reply	other threads:[~2018-08-31 10:42 UTC|newest]

Thread overview: 24+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-08-31  9:20 [dpdk-dev] [PATCH 1/4] build: include missing hypervisor files in Meson build Luca Boccassi
2018-08-31  9:20 ` [dpdk-dev] [PATCH 2/4] build: use -Wno-error=format-security for Meson ifpga_rawdev build Luca Boccassi
2018-08-31 10:17   ` Bruce Richardson
2018-08-31 10:35     ` Luca Boccassi
2018-08-31  9:20 ` [dpdk-dev] [PATCH 3/4] build: use -Wno-error=format-security for Meson i40e build Luca Boccassi
2018-08-31  9:20 ` [dpdk-dev] [PATCH 4/4] build: install igb_uio kernel module when building with Meson Luca Boccassi
2018-08-31 10:15   ` Bruce Richardson
2018-08-31 10:19     ` Luca Boccassi
2018-08-31 10:41 ` [dpdk-dev] [PATCH v2 1/4] build: include missing hypervisor files in Meson build Luca Boccassi
2018-08-31 10:41   ` Luca Boccassi [this message]
2018-08-31 11:01     ` [dpdk-dev] [PATCH v2 2/4] build: use -Wno-error=format-security for Meson ifpga_rawdev build Bruce Richardson
2018-08-31 10:41   ` [dpdk-dev] [PATCH v2 3/4] build: use -Wno-error=format-security for Meson i40e build Luca Boccassi
2018-08-31 11:01     ` Bruce Richardson
2018-08-31 10:41   ` [dpdk-dev] [PATCH v2 4/4] build: install igb_uio kernel module when building with Meson Luca Boccassi
2018-08-31 11:06     ` Bruce Richardson
2018-08-31 11:00   ` [dpdk-dev] [PATCH v2 1/4] build: include missing hypervisor files in Meson build Bruce Richardson
2018-09-16  9:00     ` Thomas Monjalon
2018-09-17  8:20       ` Bruce Richardson
2018-09-17  9:01         ` Luca Boccassi
2018-09-17  9:01 ` [dpdk-dev] [PATCH v3 " Luca Boccassi
2018-09-17  9:01   ` [dpdk-dev] [PATCH v3 2/4] build: use -Wno-error=format-security for Meson ifpga_rawdev build Luca Boccassi
2018-09-17  9:01   ` [dpdk-dev] [PATCH v3 3/4] build: use -Wno-error=format-security for Meson i40e build Luca Boccassi
2018-09-17  9:01   ` [dpdk-dev] [PATCH v3 4/4] build: install igb_uio kernel module when building with Meson Luca Boccassi
2018-09-17 10:20   ` [dpdk-dev] [PATCH v3 1/4] build: include missing hypervisor files in Meson build Thomas Monjalon

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20180831104154.20938-2-bluca@debian.org \
    --to=bluca@debian.org \
    --cc=bruce.richardson@intel.com \
    --cc=dev@dpdk.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

DPDK patches and discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror https://inbox.dpdk.org/dev/0 dev/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 dev dev/ https://inbox.dpdk.org/dev \
		dev@dpdk.org
	public-inbox-index dev

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://inbox.dpdk.org/inbox.dpdk.dev


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git