From c7b38f5110dc220052377902ea92d2ed6f021cde Mon Sep 17 00:00:00 2001 From: JDierkse Date: Fri, 17 Apr 2020 12:02:46 +0200 Subject: [PATCH] Disable stringop-truncation Warning --- Makefile.conf.base | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile.conf.base b/Makefile.conf.base index 1270630..62cc6c2 100644 --- a/Makefile.conf.base +++ b/Makefile.conf.base @@ -4,7 +4,7 @@ CFLAGS += -g3 -O3 -fPIC -std=c++11 CFLAGS += -Wall -Wextra -Wstrict-aliasing -pedantic -fmax-errors=5 -Werror -Wunreachable-code -Wdisabled-optimization -Wformat=2 -Winit-self -Wlogical-op -Wmissing-include-dirs -Wnoexcept -Woverloaded-virtual -Wsign-promo -Wstrict-null-sentinel -fdiagnostics-show-option -CFLAGS += -Wno-unused -Wno-variadic-macros -Wno-parentheses -Wno-unused-parameter +CFLAGS += -Wno-unused -Wno-variadic-macros -Wno-parentheses -Wno-unused-parameter -Wno-stringop-truncation # CFLAGS += -Wold-style-cast -Wundef -Wshadow -Wcast-qual -Wctor-dtor-privacy -Wredundant-decls -Wstrict-overflow=5 -Wcast-align -Wswitch-default CFLAGS += -ffunction-sections -fdata-sections