From: Alejandro Colomar Date: Sun, 1 May 2022 20:59:08 +0000 (+0200) Subject: Makefile: CFLAGS: Don't trigger errors for some warnings X-Git-Tag: man-pages-5.19-rc1~40 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=ba6bbcb3c8d9079ce35f3f05af5e588fb8e7b97e;p=thirdparty%2Fman-pages.git 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 --- 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)