From 9a96134872f5d17a184c5a36fc19906c7a7b04c5 Mon Sep 17 00:00:00 2001 From: Quinn Date: Mon, 2 Feb 2026 11:32:27 +0100 Subject: [PATCH] Add a warning for variable length arrays --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 1585bf5..3349066 100644 --- a/Makefile +++ b/Makefile @@ -22,7 +22,7 @@ OBJ := $(addsuffix .o,$(SRC)) DEP := $(addsuffix .d,$(SRC)) CFLAGS := -O2 $(CFLAGS) -g -std=gnu17\ - -Wall -Wextra -Wpedantic -Wno-pointer-arith + -Wall -Wextra -Wpedantic -Wno-pointer-arith -Wvla CPPFLAGS := -DNDEBUG $(CPPFLAGS) -DGLFW_INCLUDE_NONE\ -Iinclude LDFLAGS := -flto $(LDFLAGS)