mirror of
https://github.com/sqlite/sqlite.git
synced 2024-11-28 07:51:10 +01:00
0a38646806
change of check-in [36acc0a9]. FossilOrigin-Name: c643ace24c1936f9d2b16bd6d1d13cf08070dfe5b094208b638924e904915339
15 lines
572 B
Bash
15 lines
572 B
Bash
#/bin/sh
|
|
#
|
|
# Run this script in a directory with a working makefile to check for
|
|
# compiler warnings in SQLite.
|
|
#
|
|
rm -f sqlite3.c shell.c
|
|
make sqlite3.c shell.c
|
|
echo '************* FTS4 and RTREE ****************'
|
|
scan-build gcc -c -DHAVE_STDINT_H -DSQLITE_ENABLE_FTS4 -DSQLITE_ENABLE_RTREE \
|
|
-DSQLITE_DEBUG -DSQLITE_ENABLE_STAT3 sqlite3.c 2>&1 | grep -v 'ANALYZE:'
|
|
echo '********** ENABLE_STAT3. THREADSAFE=0 *******'
|
|
scan-build gcc -c -I. -DSQLITE_ENABLE_STAT3 -DSQLITE_THREADSAFE=0 \
|
|
-DSQLITE_DEBUG \
|
|
sqlite3.c shell.c -ldl 2>&1 | grep -v 'ANALYZE:'
|