From 381400bc2a44ac1d5fa947a719a95b0df716fbf0 Mon Sep 17 00:00:00 2001 From: iWas-Coder Date: Wed, 8 May 2024 14:12:00 +0200 Subject: [PATCH] fix: ignore `gnu-zero-variadic-macro-arguments` warning --- GNUmakefile | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/GNUmakefile b/GNUmakefile index 4009f40..c27c0aa 100644 --- a/GNUmakefile +++ b/GNUmakefile @@ -177,14 +177,15 @@ define LUA_CFLAGS $(MACOS_SPECIFIC_CFLAGS_OPTS) endef define CFLAGS - -std=gnu11 \ - -Wall \ - -Wextra \ - -pedantic \ - -Werror \ - $(DEBUG_SYM_OPTS) \ - $(RELEASE_OPTS) \ - $(MACOS_SPECIFIC_CFLAGS_OPTS) + -std=gnu11 \ + -Wall \ + -Wextra \ + -pedantic \ + -Werror \ + $(DEBUG_SYM_OPTS) \ + $(RELEASE_OPTS) \ + $(MACOS_SPECIFIC_CFLAGS_OPTS) \ + -Wno-gnu-zero-variadic-macro-arguments endef define TEST_CFLAGS -std=c99 \