activate more warnings and ease their mgmt

This commit is contained in:
Philippe Teuwen 2020-05-03 19:25:14 +02:00
commit 4d4984657e
5 changed files with 19 additions and 13 deletions

View file

@ -1,6 +1,6 @@
MYSRCPATHS =
MYINCLUDES = -I.
MYCFLAGS = -Wno-unused-function -Wno-cast-align
MYCFLAGS = -Wno-unused-function -Wno-cast-align -Wno-bad-function-cast
MYDEFS = -DHAVE_STDINT_H
MYSRCS = \
dump.c \

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
MYCFLAGS = -Wno-cast-align -Wno-bad-function-cast
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 \