From 316a006533874161642dcddcca18c12039dcd059 Mon Sep 17 00:00:00 2001 From: Jari Vetoniemi Date: Sun, 1 Oct 2017 00:37:50 +0300 Subject: Make -Wstrict-overflow less paranoid Seems to do stuff only when optimizations are enabled --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index bc29160..c360598 100644 --- a/Makefile +++ b/Makefile @@ -4,7 +4,7 @@ bindir ?= /bin MAKEFLAGS += --no-builtin-rules # GCC 7: -Wstringop-overflow=, -Walloc-size-larger-than=, -Wduplicated-{branches,cond} -WARNINGS := -Wall -Wextra -Wpedantic -Wformat=2 -Wstrict-aliasing=3 -Wstrict-overflow=5 -Wstack-usage=12500 \ +WARNINGS := -Wall -Wextra -Wpedantic -Wformat=2 -Wstrict-aliasing=3 -Wstrict-overflow=3 -Wstack-usage=12500 \ -Wfloat-equal -Wcast-align -Wpointer-arith -Wchar-subscripts override CFLAGS ?= -g -- cgit v1.2.3-70-g09d2