Skip to content

Commit

Permalink
updated to use jump tables
Browse files Browse the repository at this point in the history
  • Loading branch information
roberto-ieru committed Mar 5, 2018
1 parent 8b0434e commit bdcde45
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions makefile
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,14 @@

# Warnings valid for both C and C++
CWARNSCPP= \
-pedantic \
# -pedantic \ /* warns if we use jump tables */
-Wextra \
-Wshadow \
-Wsign-compare \
-Wundef \
-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 \
Expand Down Expand Up @@ -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

Expand Down

0 comments on commit bdcde45

Please sign in to comment.