Make static the options not in opt.h
[darkstat] / dev_clang_warns.sh
index 4c3c6c5..d20bab0 100755 (executable)
@@ -8,4 +8,7 @@ TARGET=dev_all.c
 LLVM=$HOME/llvm
 CLANG=$LLVM/install/bin/clang
 
-$CLANG -Weverything -O -c $TARGET
+$CLANG -Weverything -Wno-padded -Wno-format-non-iso -Wno-cast-align \
+  -Wno-disabled-macro-expansion -Wno-used-but-marked-unused \
+  -Wno-reserved-id-macro \
+  -O -c $TARGET