]> git.ipfire.org Git - thirdparty/man-pages.git/commitdiff
Makefile: CFLAGS: Don't trigger errors for some warnings
authorAlejandro Colomar <alx.manpages@gmail.com>
Sun, 1 May 2022 20:59:08 +0000 (22:59 +0200)
committerAlejandro Colomar <alx.manpages@gmail.com>
Sun, 1 May 2022 23:46:23 +0000 (01:46 +0200)
These warnings are due to imperfect APIs.  We'll have to assume them.

Signed-off-by: Alejandro Colomar <alx.manpages@gmail.com>
Makefile

index 0ec7988ac2aae542bdf390494579097734dd6895..cea48edae41cc60f6ff8652350971d9fb2efca8d 100644 (file)
--- 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)