Fix warnings found by clang r180088.

This commit is contained in:
Emil Mikulic
2013-04-28 21:24:33 +10:00
parent f29b75fb1d
commit efe37364eb
2 changed files with 42 additions and 56 deletions

View File

@ -7,7 +7,7 @@ TARGET=$(dirname $0)/../darkhttpd.c
# Adjust to suit:
LLVM=$HOME/llvm
$LLVM/install/bin/clang \
-Weverything -Wno-unreachable-code -Wno-padded \
-O $TARGET
$LLVM/install/bin/clang -Weverything -O \
-Wno-unreachable-code -Wno-padded -Wno-disabled-macro-expansion \
$TARGET
rm -f a.out