From ba6bbcb3c8d9079ce35f3f05af5e588fb8e7b97e Mon Sep 17 00:00:00 2001 From: Alejandro Colomar Date: Sun, 1 May 2022 22:59:08 +0200 Subject: [PATCH] Makefile: CFLAGS: Don't trigger errors for some warnings These warnings are due to imperfect APIs. We'll have to assume them. Signed-off-by: Alejandro Colomar --- Makefile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Makefile b/Makefile index 0ec7988ac2..cea48edae4 100644 --- a/Makefile +++ b/Makefile @@ -109,6 +109,10 @@ DEFAULT_CFLAGS += -Wall DEFAULT_CFLAGS += -Wextra DEAFULT_CFLAGS += -Wstrict-prototypes DEFAULT_CFLAGS += -Werror +DEFAULT_CFLAGS += -Wno-error=unused-parameter +DEFAULT_CFLAGS += -Wno-error=sign-compare +DEFAULT_CFLAGS += -Wno-error=format +DEFAULT_CFLAGS += -Wno-error=uninitialized EXTRA_CFLAGS := CFLAGS := $(DEFAULT_CFLAGS) $(EXTRA_CFLAGS) -- 2.47.2