From fa2ccc41527a1d81eb25c267549823efeb58a41f Mon Sep 17 00:00:00 2001 From: Test_User Date: Sat, 10 Aug 2024 06:00:09 -0400 Subject: alloc-size warning is useless for here. It will only ever catch zero-length arrays, which are actually intended to be zero-length, and are thereby not a problem. --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 44c17f7..85f2185 100644 --- a/Makefile +++ b/Makefile @@ -247,7 +247,7 @@ ifeq ($(rebuild),1) .PHONY: .makeopts endif -CFLAGS += $(INCLUDEFLAGS) -D_REENTRANT -ggdb3 -Wall -Wextra -Wsign-conversion -Wno-unused-parameter -Wno-implicit-fallthrough -std=gnu99 +CFLAGS += $(INCLUDEFLAGS) -D_REENTRANT -ggdb3 -Wall -Wextra -Wsign-conversion -Wno-unused-parameter -Wno-implicit-fallthrough -Wno-alloc-size -std=gnu99 USE_PLAINTEXT = 0 USE_CLIENT = 0 -- cgit v1.2.3