Mark cppcheck executable.
[darkhttpd] / devel / clang-warns
1 #!/bin/sh
2 #
3 # Build with clang with all warnings.
4 #
5 TARGET=$(dirname $0)/../darkhttpd.c
6
7 # Adjust to suit:
8 LLVM=$HOME/llvm
9
10 $LLVM/install/bin/clang -Weverything -O \
11   -Wno-unreachable-code -Wno-padded -Wno-disabled-macro-expansion \
12   $TARGET
13 rm -f a.out