Introduction
Introduction Statistics Contact Development Disclaimer Help
build_no_warnings.sh - sfeed_tests - sfeed tests and RSS and Atom files
git clone git://git.codemadness.org/sfeed_tests
Log
Files
Refs
README
LICENSE
---
build_no_warnings.sh (760B)
---
1 #!/bin/sh
2 # other useful flags, but may report many false-positives:
3 # -Wmissing-prototypes
4 # -Weverything
5
6 # fail on any warnings/errors (-Werror)
7 set +e
8
9 JOBS=4
10
11 make clean
12 make -j$JOBS CC="gcc -std=c99" CFLAGS="-Wall -Wextra -pedantic -Werror -…
13
14 make clean
15 make -j$JOBS CC="clang" CFLAGS="-Wall -Wextra -pedantic -Werror -Wno-unu…
16
17 # clang-analyzer
18 #make clean
19 #scan-build make
20
21 # cppcheck
22 echo "cppcheck:"
23 cppcheck --suppress=variableScope --enable=all --inconclusive --library=…
24
25 # error if found
26 #! grep -E ' (error|portability): ' /tmp/2
27 #! grep -E ' \[(unreadVariable|unusedAllocatedMemory)\]' /tmp/2
You are viewing proxied material from codemadness.org. The copyright of proxied material belongs to its original authors. Any comments or complaints in relation to proxied material should be directed to the original authors of the content concerned. Please see the disclaimer for more details.