From 55a8e8c423be333bacf2a25d62b94f630490aa31 Mon Sep 17 00:00:00 2001 From: David Walter Seikel Date: Mon, 16 Apr 2012 03:24:32 +1000 Subject: Include one more warning that is not covered by -Wall. They should rename it to -Wsome. --- LuaSL/build.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'LuaSL/build.sh') diff --git a/LuaSL/build.sh b/LuaSL/build.sh index 447c04a..7d95965 100755 --- a/LuaSL/build.sh +++ b/LuaSL/build.sh @@ -17,7 +17,7 @@ fi # No need for a make file, or dependencies, the entire thing takes only a few seconds to build. -CFLAGS="-g -Wall -I include -I $LOCALDIR/src" +CFLAGS="-g -Wall -Wunreachable-code -I include -I $LOCALDIR/src" CFLAGS="$CFLAGS -I ../../libraries" CFLAGS="$CFLAGS -I ../../libraries/luajit-2.0/src" #CFLAGS="$CFLAGS -I /usr/include/lua5.1" -- cgit v1.1