summaryrefslogtreecommitdiff
path: root/makefile
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2018-03-05 11:26:18 -0300
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2018-03-05 11:26:18 -0300
commitbdcde45d05f321fb6608e58bf24e1920fa3a3a23 (patch)
treefc9865b3b5439eef8448c20c16287472ea8bb969 /makefile
parent8b0434e5e6eb0f8588d97ba7a64d001e50f475f9 (diff)
downloadlua-github-bdcde45d05f321fb6608e58bf24e1920fa3a3a23.tar.gz
updated to use jump tables
Diffstat (limited to 'makefile')
-rw-r--r--makefile5
1 files changed, 2 insertions, 3 deletions
diff --git a/makefile b/makefile
index b298486e..9367ffd7 100644
--- 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