Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(265)

Side by Side Diff: third_party/sqlite/src/tool/warnings.sh

Issue 901033002: Import SQLite 3.8.7.4. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Chromium changes to support SQLite 3.8.7.4. Created 5 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 #/bin/sh 1 #/bin/sh
2 # 2 #
3 # Run this script in a directory with a working makefile to check for 3 # Run this script in a directory with a working makefile to check for
4 # compiler warnings in SQLite. 4 # compiler warnings in SQLite.
5 # 5 #
6 rm -f sqlite3.c 6 rm -f sqlite3.c
7 make sqlite3.c 7 make sqlite3.c
8 echo '********** No optimizations. Includes FTS4 and RTREE *********' 8 echo '********** No optimizations. Includes FTS4 and RTREE *********'
9 gcc -c -Wshadow -Wall -Wextra -pedantic-errors -Wno-long-long -std=c89 \ 9 gcc -c -Wshadow -Wall -Wextra -pedantic-errors -Wno-long-long -std=c89 \
10 -ansi -DHAVE_STDINT_H -DSQLITE_ENABLE_FTS4 -DSQLITE_ENABLE_RTREE \ 10 -ansi -DHAVE_STDINT_H -DSQLITE_ENABLE_FTS4 -DSQLITE_ENABLE_RTREE \
11 sqlite3.c 11 sqlite3.c
12 echo '********** No optimizations. ENABLE_STAT4. THREADSAFE=0 *******' 12 echo '********** No optimizations. ENABLE_STAT4. THREADSAFE=0 *******'
13 gcc -c -Wshadow -Wall -Wextra -pedantic-errors -Wno-long-long -std=c89 \ 13 gcc -c -Wshadow -Wall -Wextra -pedantic-errors -Wno-long-long -std=c89 \
14 -ansi -DSQLITE_ENABLE_STAT4 -DSQLITE_THREADSAFE=0 \ 14 -ansi -DSQLITE_ENABLE_STAT4 -DSQLITE_THREADSAFE=0 \
15 sqlite3.c 15 sqlite3.c
16 echo '********** Optimized -O3. Includes FTS4 and RTREE ************' 16 echo '********** Optimized -O3. Includes FTS4 and RTREE ************'
17 gcc -O3 -c -Wshadow -Wall -Wextra -pedantic-errors -Wno-long-long -std=c89 \ 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 \ 18 -ansi -DHAVE_STDINT_H -DSQLITE_ENABLE_FTS4 -DSQLITE_ENABLE_RTREE \
19 sqlite3.c 19 sqlite3.c
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698