From fe52f76913ae8db2b6607ab800979ec72284bbc7 Mon Sep 17 00:00:00 2001 From: Nicholas Marriott Date: Thu, 22 Jan 2026 15:02:42 +0000 Subject: [PATCH] Fiddle with some more warnings. --- Makefile.am | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/Makefile.am b/Makefile.am index 81c9c2fc..267f4406 100644 --- a/Makefile.am +++ b/Makefile.am @@ -28,14 +28,15 @@ AM_CFLAGS += -O0 endif if IS_DEBUG AM_CFLAGS += -g -AM_CFLAGS += -Wno-long-long -Wall -W -Wformat=2 +AM_CFLAGS += -Wno-long-long -Wall -W -Wformat=2 -Wno-use-after-free AM_CFLAGS += -Wmissing-prototypes -Wstrict-prototypes -Wmissing-declarations AM_CFLAGS += -Wwrite-strings -Wshadow -Wpointer-arith -Wsign-compare -AM_CFLAGS += -Wundef -Wbad-function-cast -Winline -Wcast-align +AM_CFLAGS += -Wundef -Wbad-function-cast -Winline -Wno-cast-align AM_CFLAGS += -Wdeclaration-after-statement -Wno-pointer-sign -Wno-attributes -AM_CFLAGS += -Wno-unused-result -Wno-format-y2k +AM_CFLAGS += -Wno-unused-result -Wno-format-y2k -Wno-unknown-warning-option +AM_CFLAGS += -Wno-maybe-uninitialized if IS_DARWIN -AM_CFLAGS += -Wno-deprecated-declarations -Wno-cast-align -Wno-macro-redefined +AM_CFLAGS += -Wno-deprecated-declarations -Wno-macro-redefined endif AM_CPPFLAGS += -DDEBUG endif