aboutsummaryrefslogtreecommitdiff
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-bdcde45d05f321fb6608e58bf24e1920fa3a3a23.tar.gz
lua-bdcde45d05f321fb6608e58bf24e1920fa3a3a23.tar.bz2
lua-bdcde45d05f321fb6608e58bf24e1920fa3a3a23.zip
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 @@
6 6
7# Warnings valid for both C and C++ 7# Warnings valid for both C and C++
8CWARNSCPP= \ 8CWARNSCPP= \
9 -pedantic \ 9 # -pedantic \ /* warns if we use jump tables */
10 -Wextra \ 10 -Wextra \
11 -Wshadow \ 11 -Wshadow \
12 -Wsign-compare \ 12 -Wsign-compare \
@@ -14,7 +14,6 @@ CWARNSCPP= \
14 -Wwrite-strings \ 14 -Wwrite-strings \
15 -Wredundant-decls \ 15 -Wredundant-decls \
16 -Wdisabled-optimization \ 16 -Wdisabled-optimization \
17 -Waggregate-return \
18 -Wdouble-promotion \ 17 -Wdouble-promotion \
19 -Wstrict-aliasing=3 # not accepted by clang \ 18 -Wstrict-aliasing=3 # not accepted by clang \
20 -Wno-aggressive-loop-optimizations # not accepted by clang \ 19 -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 \
191lutf8lib.o: lutf8lib.c lprefix.h lua.h luaconf.h lauxlib.h lualib.h 190lutf8lib.o: lutf8lib.c lprefix.h lua.h luaconf.h lauxlib.h lualib.h
192lvm.o: lvm.c lprefix.h lua.h luaconf.h ldebug.h lstate.h lobject.h \ 191lvm.o: lvm.c lprefix.h lua.h luaconf.h ldebug.h lstate.h lobject.h \
193 llimits.h ltm.h lzio.h lmem.h ldo.h lfunc.h lgc.h lopcodes.h lstring.h \ 192 llimits.h ltm.h lzio.h lmem.h ldo.h lfunc.h lgc.h lopcodes.h lstring.h \
194 ltable.h lvm.h 193 ltable.h lvm.h ljumptab.h
195lzio.o: lzio.c lprefix.h lua.h luaconf.h llimits.h lmem.h lstate.h \ 194lzio.o: lzio.c lprefix.h lua.h luaconf.h llimits.h lmem.h lstate.h \
196 lobject.h ltm.h lzio.h 195 lobject.h ltm.h lzio.h
197 196