In the 'swarmvtabfault' test module, make sure to close the database handle prior...
[sqlite.git] / tool / warnings-clang.sh
blob7a0aa4bce7f86fddaf70373c18ca83137d023f60
1 #/bin/sh
3 # Run this script in a directory with a working makefile to check for
4 # compiler warnings in SQLite.
6 rm -f sqlite3.c
7 make sqlite3.c
8 echo '************* FTS4 and RTREE ****************'
9 scan-build gcc -c -DHAVE_STDINT_H -DSQLITE_ENABLE_FTS4 -DSQLITE_ENABLE_RTREE \
10 -DSQLITE_DEBUG -DSQLITE_ENABLE_STAT3 sqlite3.c 2>&1 | grep -v 'ANALYZE:'
11 echo '********** ENABLE_STAT3. THREADSAFE=0 *******'
12 scan-build gcc -c -I. -DSQLITE_ENABLE_STAT3 -DSQLITE_THREADSAFE=0 \
13 -DSQLITE_DEBUG \
14 sqlite3.c ../sqlite/src/shell.c -ldl 2>&1 | grep -v 'ANALYZE:'