diff options
| -rw-r--r-- | makefile | 5 |
1 files changed, 2 insertions, 3 deletions
| @@ -6,7 +6,7 @@ | |||
| 6 | 6 | ||
| 7 | # Warnings valid for both C and C++ | 7 | # Warnings valid for both C and C++ |
| 8 | CWARNSCPP= \ | 8 | CWARNSCPP= \ |
| 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 \ | |||
| 191 | lutf8lib.o: lutf8lib.c lprefix.h lua.h luaconf.h lauxlib.h lualib.h | 190 | lutf8lib.o: lutf8lib.c lprefix.h lua.h luaconf.h lauxlib.h lualib.h |
| 192 | lvm.o: lvm.c lprefix.h lua.h luaconf.h ldebug.h lstate.h lobject.h \ | 191 | lvm.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 |
| 195 | lzio.o: lzio.c lprefix.h lua.h luaconf.h llimits.h lmem.h lstate.h \ | 194 | lzio.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 | ||
