DPDK patches and discussions
 help / color / mirror / Atom feed
* [dpdk-dev] [PATCH] net/failsafe: fix compilation issues on GCC 4.8.5
@ 2017-07-19 13:18 Gaetan Rivet
  2017-07-19 13:29 ` Ferruh Yigit
  0 siblings, 1 reply; 2+ messages in thread
From: Gaetan Rivet @ 2017-07-19 13:18 UTC (permalink / raw)
  To: dev; +Cc: Gaetan Rivet

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [dpdk-dev] [PATCH] net/failsafe: fix compilation issues on GCC 4.8.5
  2017-07-19 13:18 [dpdk-dev] [PATCH] net/failsafe: fix compilation issues on GCC 4.8.5 Gaetan Rivet
@ 2017-07-19 13:29 ` Ferruh Yigit
  0 siblings, 0 replies; 2+ messages in thread
From: Ferruh Yigit @ 2017-07-19 13:29 UTC (permalink / raw)
  To: Gaetan Rivet, dev

On 7/19/2017 2:18 PM, Gaetan Rivet wrote:
> 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>

Squashed into relevant commit in next-net, thanks.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2017-07-19 13:29 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-07-19 13:18 [dpdk-dev] [PATCH] net/failsafe: fix compilation issues on GCC 4.8.5 Gaetan Rivet
2017-07-19 13:29 ` Ferruh Yigit

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).