Interplane page as plain text, for reading tools and agents. English is the reference text: translate it with your own tool. Text in backticks and in ``` blocks (commands, fingerprints, file names) and link targets in <...> are exact: copy them, never translate them. Page: /drakestapleton/sqlite/blob/master/tool/warnings-clang.sh # sqlite [Ported from github.com/sqlite/sqlite] Fix bugs in and improve the interface to the ".check" command of the CLI. Brought by drakestapleton Sign in to star 0 stars 0 watching About Files History Releases Proposed changes Issues For developers branch `master` Branches Tags History `sqlite / tool / warnings-clang.sh` 14 lines ยท 572 bytes Raw Blame History 1 #/bin/sh 2 # 3 # Run this script in a directory with a working makefile to check for 4 # compiler warnings in SQLite. 5 # 6 rm -f sqlite3.c shell.c 7 make sqlite3.c shell.c 8 echo '************* FTS4 and RTREE ****************' 9 scan-build gcc -c -DHAVE_STDINT_H -DSQLITE_ENABLE_FTS4 -DSQLITE_ENABLE_RTREE \ 10 -DSQLITE_DEBUG -DSQLITE_ENABLE_STAT3 sqlite3.c 2>&1 | grep -v 'ANALYZE:' 11 echo '********** ENABLE_STAT3. THREADSAFE=0 *******' 12 scan-build gcc -c -I. -DSQLITE_ENABLE_STAT3 -DSQLITE_THREADSAFE=0 \ 13 -DSQLITE_DEBUG \ 14 sqlite3.c shell.c -ldl 2>&1 | grep -v 'ANALYZE:'