mirror of
https://github.com/thepigeongenerator/mcaselector-lite
synced 2026-02-08 07:33:35 +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))
|
DEP := $(addsuffix .d,$(SRC))
|
||||||
|
|
||||||
CFLAGS := -O2 $(CFLAGS) -g -std=gnu17\
|
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\
|
CPPFLAGS := -DNDEBUG $(CPPFLAGS) -DGLFW_INCLUDE_NONE\
|
||||||
-Iinclude
|
-Iinclude
|
||||||
LDFLAGS := -flto $(LDFLAGS)
|
LDFLAGS := -flto $(LDFLAGS)
|
||||||
|
|||||||
Reference in New Issue
Block a user