Please try again with the latest code from trunk. On 8/2/16, Johan Kuuse <jo...@kuu.se> wrote: > Hi, > > In trunk (f475b943eb), I get a compiler warning when I use clang with the > default Makefile: > > > cc -I. -I./src -Ibld -DFOSSIL_DYNAMIC_BUILD=1 -I/usr/local/include -g > -O2 -DHAVE_AUTOCONFIG_H -D_HAVE_SQLITE_CONFIG_H -O2 -pipe -o bld/fshell.o > -c bld/fshell_.c > ./src/fshell.c:109:7: warning: implicit declaration of function 'waitpid' > is invalid in C99 [-Wimplicit-function-declaration] > waitpid(childPid, &status, 0); > ^ > > I don't get that warning by default using gcc. Anyway, I can reproduce it > with the added flag -Wall, which also gives the following warning: > > gcc -I. -I./src -Ibld -DFOSSIL_DYNAMIC_BUILD=1 -I/usr/local/include -Wall > -g -O2 -DHAVE_AUTOCONFIG_H -D_HAVE_SQLITE_CONFIG_H -O2 -pipe -o > bld/user.o -c bld/user_.c > ./src/user.c: In function 'prompt_for_passphrase': > ./src/user.c:191:15: warning: unused variable 'zSecure' [-Wunused-variable] > const char *zSecure; > ^ > > BR, > Johan >
-- D. Richard Hipp d...@sqlite.org _______________________________________________ fossil-users mailing list fossil-users@lists.fossil-scm.org http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users