[dpdk-dev] net/failsafe: fix compilation issues on GCC 4.8.5
Checks
Commit Message
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(+)
Comments
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.
@@ -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