darkhttpd/devel/clang-warns

14 lines
297 B
Plaintext
Raw Permalink Normal View History

#!/bin/bash
#
# Build with clang with all warnings.
#
TARGET=$(dirname $0)/../darkhttpd.c
if [[ -z "$CLANG" ]]; then
CLANG="$(which clang)"
fi
"$CLANG" -Weverything -O \
2013-04-28 15:24:33 +04:00
-Wno-unreachable-code -Wno-padded -Wno-disabled-macro-expansion \
2016-01-13 16:57:42 +03:00
-Wno-reserved-id-macro \
2015-01-01 10:32:01 +03:00
-DDEBUG $TARGET
rm -f a.out