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

Unified Diff: third_party/sqlite/sqlite-src-3080704/tool/warnings-clang.sh

Issue 949043002: Add //third_party/sqlite to dirs_to_snapshot, remove net_sql.patch (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: 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 side-by-side diff with in-line comments
Download patch
Index: third_party/sqlite/sqlite-src-3080704/tool/warnings-clang.sh
diff --git a/third_party/sqlite/sqlite-src-3080704/tool/warnings-clang.sh b/third_party/sqlite/sqlite-src-3080704/tool/warnings-clang.sh
new file mode 100644
index 0000000000000000000000000000000000000000..7a0aa4bce7f86fddaf70373c18ca83137d023f60
--- /dev/null
+++ b/third_party/sqlite/sqlite-src-3080704/tool/warnings-clang.sh
@@ -0,0 +1,14 @@
+#/bin/sh
+#
+# Run this script in a directory with a working makefile to check for
+# compiler warnings in SQLite.
+#
+rm -f sqlite3.c
+make sqlite3.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 ../sqlite/src/shell.c -ldl 2>&1 | grep -v 'ANALYZE:'
« no previous file with comments | « third_party/sqlite/sqlite-src-3080704/tool/warnings.sh ('k') | third_party/sqlite/sqlite-src-3080704/tool/win/sqlite.vsix » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698