Suppress noisy reserved-id-macro warning.
[darkstat] / dev_clang_warns.sh
1 #!/bin/sh -x
2 #
3 # Build with lots of Clang warnings enabled.
4 #
5 TARGET=dev_all.c
6
7 # Adjust to suit:
8 LLVM=$HOME/llvm
9 CLANG=$LLVM/install/bin/clang
10
11 $CLANG -Weverything -Wno-padded -Wno-format-non-iso -Wno-cast-align \
12 -Wno-disabled-macro-expansion -Wno-used-but-marked-unused \
13 -Wno-reserved-id-macro \
14 -O -c $TARGET