remove switch-enum warnings

This commit is contained in:
Philippe Teuwen 2020-05-11 23:50:14 +02:00
commit b46a99d7d7
8 changed files with 19 additions and 10 deletions

View file

@ -1,7 +1,7 @@
MYSRCPATHS =
MYINCLUDES = -I.
# Lua lib requires GNU extensions (implicit declarations of functions): -std=gnu99 or -std=gnu11
MYCFLAGS = -Wno-cast-align -Wno-bad-function-cast
MYCFLAGS = -Wno-cast-align -Wno-bad-function-cast -Wno-switch-enum
MYDEFS = -DLUA_COMPAT_ALL $(SYSCFLAGS)
MYSRCS = lapi.c lcode.c lctype.c ldebug.c ldo.c ldump.c lfunc.c lgc.c llex.c \
lmem.c lobject.c lopcodes.c lparser.c lstate.c lstring.c ltable.c \