diff options
author | David Walter Seikel | 2012-04-16 03:24:32 +1000 |
---|---|---|
committer | David Walter Seikel | 2012-04-16 03:24:32 +1000 |
commit | 55a8e8c423be333bacf2a25d62b94f630490aa31 (patch) | |
tree | 1bab083817c261f88a057e02aaf192aa400076c2 | |
parent | Some clarifications of the LuaSL design. (diff) | |
download | SledjHamr-55a8e8c423be333bacf2a25d62b94f630490aa31.zip SledjHamr-55a8e8c423be333bacf2a25d62b94f630490aa31.tar.gz SledjHamr-55a8e8c423be333bacf2a25d62b94f630490aa31.tar.bz2 SledjHamr-55a8e8c423be333bacf2a25d62b94f630490aa31.tar.xz |
Include one more warning that is not covered by -Wall. They should rename it to -Wsome.
-rwxr-xr-x | LuaSL/build.sh | 2 |
1 files changed, 1 insertions, 1 deletions
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 | |||
17 | 17 | ||
18 | # No need for a make file, or dependencies, the entire thing takes only a few seconds to build. | 18 | # No need for a make file, or dependencies, the entire thing takes only a few seconds to build. |
19 | 19 | ||
20 | CFLAGS="-g -Wall -I include -I $LOCALDIR/src" | 20 | CFLAGS="-g -Wall -Wunreachable-code -I include -I $LOCALDIR/src" |
21 | CFLAGS="$CFLAGS -I ../../libraries" | 21 | CFLAGS="$CFLAGS -I ../../libraries" |
22 | CFLAGS="$CFLAGS -I ../../libraries/luajit-2.0/src" | 22 | CFLAGS="$CFLAGS -I ../../libraries/luajit-2.0/src" |
23 | #CFLAGS="$CFLAGS -I /usr/include/lua5.1" | 23 | #CFLAGS="$CFLAGS -I /usr/include/lua5.1" |