DPDK patches and discussions
 help / color / mirror / Atom feed
From: Gaetan Rivet <gaetan.rivet@6wind.com>
To: dev@dpdk.org
Cc: Gaetan Rivet <gaetan.rivet@6wind.com>
Subject: [dpdk-dev] [PATCH] net/failsafe: fix compilation issues on GCC 4.8.5
Date: Wed, 19 Jul 2017 15:18:23 +0200	[thread overview]
Message-ID: <08904b2a93a84bfebf6676d040d1cdf2dcd2e5f6.1500470158.git.gaetan.rivet@6wind.com> (raw)

Reintroduce the -pedantic flag to highlight those mistakes.

Fixes: 57a089a5020f ("net/failsafe: add fail-safe PMD")

Signed-off-by: Gaetan Rivet <gaetan.rivet@6wind.com>
---

 drivers/net/failsafe/Makefile | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/drivers/net/failsafe/Makefile b/drivers/net/failsafe/Makefile
index cec33df..32aaaa2 100644
--- a/drivers/net/failsafe/Makefile
+++ b/drivers/net/failsafe/Makefile
@@ -54,7 +54,9 @@ CFLAGS += -std=c11 -Wextra
 CFLAGS += -O3
 CFLAGS += -I.
 CFLAGS += -D_DEFAULT_SOURCE
+CFLAGS += -D_XOPEN_SOURCE=700
 CFLAGS += $(WERROR_FLAGS)
 CFLAGS += -Wno-strict-prototypes
+CFLAGS += -pedantic
 
 include $(RTE_SDK)/mk/rte.lib.mk
-- 
2.1.4

             reply	other threads:[~2017-07-19 13:18 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-07-19 13:18 Gaetan Rivet [this message]
2017-07-19 13:29 ` Ferruh Yigit

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=08904b2a93a84bfebf6676d040d1cdf2dcd2e5f6.1500470158.git.gaetan.rivet@6wind.com \
    --to=gaetan.rivet@6wind.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
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).