commit bdcde45d05f321fb6608e58bf24e1920fa3a3a23
parent 8b0434e5e6eb0f8588d97ba7a64d001e50f475f9
Author: Roberto Ierusalimschy <roberto@inf.puc-rio.br>
Date: Mon, 5 Mar 2018 11:25:51 -0300
updated to use jump tables
Diffstat:
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/makefile b/makefile
@@ -6,7 +6,7 @@
# Warnings valid for both C and C++
CWARNSCPP= \
- -pedantic \
+ # -pedantic \ /* warns if we use jump tables */
-Wextra \
-Wshadow \
-Wsign-compare \
@@ -14,7 +14,6 @@ CWARNSCPP= \
-Wwrite-strings \
-Wredundant-decls \
-Wdisabled-optimization \
- -Waggregate-return \
-Wdouble-promotion \
-Wstrict-aliasing=3 # not accepted by clang \
-Wno-aggressive-loop-optimizations # not accepted by clang \
@@ -191,7 +190,7 @@ lundump.o: lundump.c lprefix.h lua.h luaconf.h ldebug.h lstate.h \
lutf8lib.o: lutf8lib.c lprefix.h lua.h luaconf.h lauxlib.h lualib.h
lvm.o: lvm.c lprefix.h lua.h luaconf.h ldebug.h lstate.h lobject.h \
llimits.h ltm.h lzio.h lmem.h ldo.h lfunc.h lgc.h lopcodes.h lstring.h \
- ltable.h lvm.h
+ ltable.h lvm.h ljumptab.h
lzio.o: lzio.c lprefix.h lua.h luaconf.h llimits.h lmem.h lstate.h \
lobject.h ltm.h lzio.h