From 6b07217322f24714a543265c058c95b18fa81903 Mon Sep 17 00:00:00 2001 From: Raghavendra Nataraj Date: Sat, 29 Jun 2019 19:20:03 -0500 Subject: [PATCH] Supress Error in gcc-8 --- Makefile.base | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile.base b/Makefile.base index 7bb6f1d..05e550a 100644 --- a/Makefile.base +++ b/Makefile.base @@ -161,7 +161,7 @@ GCC_VER_INT=$(shell printf "%d%04d%04d" $(GCC_VER_SPC)) # compare to minimum version 4.8.0 GCC_GTE_48=$(shell expr $(GCC_VER_INT) \>= 400080000) -PEDANTIC = -Wall -pedantic -Wno-variadic-macros -Wno-long-long -Wno-overlength-strings +PEDANTIC = -Wall -pedantic -Wno-variadic-macros -Wno-long-long -Wno-overlength-strings -Wno-format-truncation -Wno-stringop-truncation -Wno-stringop-overflow # For clang, we need to ignore c99 extensions warnings it seems ... ifeq ($(shell $(CC) -v 2>&1 | grep -c "clang version"), 1)