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

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

Issue 1610963002: Import SQLite 3.10.2. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 11 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
« no previous file with comments | « third_party/sqlite/src/tool/vdbe_profile.tcl ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 '********** Android configuration ******************************'
13 gcc -c \
14 -DHAVE_USLEEP=1 \
15 -DSQLITE_HAVE_ISNAN \
16 -DSQLITE_DEFAULT_JOURNAL_SIZE_LIMIT=1048576 \
17 -DSQLITE_THREADSAFE=2 \
18 -DSQLITE_TEMP_STORE=3 \
19 -DSQLITE_POWERSAFE_OVERWRITE=1 \
20 -DSQLITE_DEFAULT_FILE_FORMAT=4 \
21 -DSQLITE_DEFAULT_AUTOVACUUM=1 \
22 -DSQLITE_ENABLE_MEMORY_MANAGEMENT=1 \
23 -DSQLITE_ENABLE_FTS3 \
24 -DSQLITE_ENABLE_FTS3_BACKWARDS \
25 -DSQLITE_ENABLE_FTS4 \
26 -DSQLITE_OMIT_BUILTIN_TEST \
27 -DSQLITE_OMIT_COMPILEOPTION_DIAGS \
28 -DSQLITE_OMIT_LOAD_EXTENSION \
29 -DSQLITE_DEFAULT_FILE_PERMISSIONS=0600 \
30 -DSQLITE_ENABLE_ICU \
31 -DUSE_PREAD64 \
32 -Wshadow -Wall -Wextra \
33 -Os sqlite3.c shell.c
12 echo '********** No optimizations. ENABLE_STAT4. THREADSAFE=0 *******' 34 echo '********** No optimizations. ENABLE_STAT4. THREADSAFE=0 *******'
13 gcc -c -Wshadow -Wall -Wextra -pedantic-errors -Wno-long-long -std=c89 \ 35 gcc -c -Wshadow -Wall -Wextra -pedantic-errors -Wno-long-long -std=c89 \
14 -ansi -DSQLITE_ENABLE_STAT4 -DSQLITE_THREADSAFE=0 \ 36 -ansi -DSQLITE_ENABLE_STAT4 -DSQLITE_THREADSAFE=0 \
15 sqlite3.c 37 sqlite3.c
16 echo '********** Optimized -O3. Includes FTS4 and RTREE ************' 38 echo '********** Optimized -O3. Includes FTS4 and RTREE ************'
17 gcc -O3 -c -Wshadow -Wall -Wextra -pedantic-errors -Wno-long-long -std=c89 \ 39 gcc -O3 -c -Wshadow -Wall -Wextra -pedantic-errors -Wno-long-long -std=c89 \
18 -ansi -DHAVE_STDINT_H -DSQLITE_ENABLE_FTS4 -DSQLITE_ENABLE_RTREE \ 40 -ansi -DHAVE_STDINT_H -DSQLITE_ENABLE_FTS4 -DSQLITE_ENABLE_RTREE \
19 sqlite3.c 41 sqlite3.c
OLDNEW
« no previous file with comments | « third_party/sqlite/src/tool/vdbe_profile.tcl ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698