From 0d6a6dca38650a7d89ab697a308a93628ea72a0d Mon Sep 17 00:00:00 2001 From: "debing.sun" Date: Tue, 14 Jan 2025 21:16:58 +0800 Subject: [PATCH] Disable -Wstrict-prototypes warning --- src/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Makefile b/src/Makefile index 7d75c83d2..49335f0ec 100644 --- a/src/Makefile +++ b/src/Makefile @@ -31,7 +31,7 @@ ifneq (,$(findstring FreeBSD,$(uname_S))) STD+=-Wno-c11-extensions endif endif -WARN=-Wall -W -Wno-missing-field-initializers +WARN=-Wall -W -Wno-missing-field-initializers -Wno-strict-prototypes OPT=$(OPTIMIZATION) # Detect if the compiler supports C11 _Atomic.