3 # Run this script in a directory with a working makefile to check for
4 # compiler warnings in SQLite.
8 echo '********** No optimizations. Includes FTS4 and RTREE *********'
9 gcc
-c -Wshadow -Wall -Wextra -pedantic-errors -Wno-long-long -std=c89 \
10 -ansi -DHAVE_STDINT_H -DSQLITE_ENABLE_FTS4 -DSQLITE_ENABLE_RTREE \
12 echo '********** No optimizations. ENABLE_STAT4. THREADSAFE=0 *******'
13 gcc
-c -Wshadow -Wall -Wextra -pedantic-errors -Wno-long-long -std=c89 \
14 -ansi -DSQLITE_ENABLE_STAT4 -DSQLITE_THREADSAFE=0 \
16 echo '********** Optimized -O3. Includes FTS4 and RTREE ************'
17 gcc
-O3 -c -Wshadow -Wall -Wextra -pedantic-errors -Wno-long-long -std=c89 \
18 -ansi -DHAVE_STDINT_H -DSQLITE_ENABLE_FTS4 -DSQLITE_ENABLE_RTREE \