From a2995e76412d7621318c47ba4f0ed9d58566df2d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=BD=D0=B0=D0=B1?= Date: Wed, 16 Feb 2022 03:01:30 +0100 Subject: [PATCH] config: add -Wextra (sans sign-compare and missing-field-initializers) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Reviewed-by: Alejandro Colomar Reviewed-by: Brian Behlendorf Signed-off-by: Ahelenia ZiemiaƄska Closes #13110 --- config/Rules.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/Rules.am b/config/Rules.am index 3146da6ee1..cbef12e213 100644 --- a/config/Rules.am +++ b/config/Rules.am @@ -23,7 +23,7 @@ endif AM_LIBTOOLFLAGS = --silent -AM_CFLAGS = -std=gnu99 -Wall -Wstrict-prototypes -Wmissing-prototypes +AM_CFLAGS = -std=gnu99 -Wall -Wextra -Wstrict-prototypes -Wmissing-prototypes -Wno-sign-compare -Wno-missing-field-initializers AM_CFLAGS += -fno-strict-aliasing AM_CFLAGS += $(NO_OMIT_FRAME_POINTER) AM_CFLAGS += $(IMPLICIT_FALLTHROUGH)