mirror of
https://github.com/thepigeongenerator/mcaselector-lite
synced 2026-02-07 23:28:09 +01:00
Add a warning for variable length arrays
This commit is contained in:
2
Makefile
2
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)
|
||||
|
||||
Reference in New Issue
Block a user