Add a warning for variable length arrays

This commit is contained in:
2026-02-02 11:32:27 +01:00
parent 11a5e8dc4a
commit 9a96134872

View File

@@ -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)