darkhttpd/devel/clang-warns

15 lines
291 B
Plaintext
Raw Normal View History

#!/bin/sh
#
# Build with clang with all warnings.
#
TARGET=$(dirname $0)/../darkhttpd.c
# Adjust to suit:
LLVM=$HOME/llvm
2013-04-28 15:24:33 +04:00
$LLVM/install/bin/clang -Weverything -O \
-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