From 514e27d97548561a4bd0d233c767643a50b44fcf Mon Sep 17 00:00:00 2001 From: Lior Halphon Date: Fri, 5 Apr 2024 14:39:23 +0300 Subject: [PATCH] Enable a few warnings, hopefully they won't trigger GCC --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index c632b2ae4..a9b8c1528 100644 --- a/Makefile +++ b/Makefile @@ -164,7 +164,7 @@ endif # These must come before the -Wno- flags WARNINGS += -Werror -Wall -Wno-unknown-warning -Wno-unknown-warning-option -Wno-missing-braces -WARNINGS += -Wno-nonnull -Wno-unused-result -Wno-multichar -Wno-int-in-bool-context -Wno-format-truncation +WARNINGS += -Wno-nonnull -Wno-multichar -Wno-int-in-bool-context # Only add this flag if the compiler supports it ifeq ($(shell $(CC) -x c -c $(NULL) -o $(NULL) -Werror -Wpartial-availability 2> $(NULL); echo $$?),0)