#/bin/sh
#
# Run this script in a directory with a working makefile to check for
# compiler warnings in SQLite.
#
if | ; then
# Use these for testing on OpenBSD:
WARNING_OPTS=-Wall
WARNING_ANDROID_OPTS=-Wall
else
# Use these for testing on Linux and Mac OSX:
WARNING_OPTS="-Wshadow -Wall -Wextra -pedantic-errors -Wno-long-long"
gccvers=
if
then
WARNING_ANDROID_OPTS="-Wshadow -Wall -Wextra"
else
WARNING_ANDROID_OPTS="-Wshadow -Wall -Wextra -Wimplicit-fallthrough=0"
fi
fi
if ; then
fi