2014-11-07 0:52 GMT+01:00 Baptiste Daroussin <baptiste.darous...@gmail.com>:
> Right test started so far it has computed 99347 checkins in 9 hours
> around 180k more checkins to go :) this is the freebsd base system.

Great! So I'll report the things I find:
    cc -DHAVE_READLINE  -g -O2 -DHAVE_AUTOCONFIG_H
-D_HAVE_SQLITE_CONFIG_H  -I. -I./src -Ibld -o bld/sha1.o -c
bld/sha1_.c ./src/sha1.c: In function
‘sha1_shared_secret_sql_function’:
    ./src/sha1.c:448:23: warning: passing argument 4 of
‘sqlite3_result_text’ from incompatible pointer type [enabled by
default]
                           fossil_free);
                           ^
    In file included from ./src/config.h:162:0,
                     from ./src/sha1.c:4:
    ./src/sqlite3.h:4512:17: note: expected ‘void (*)(void *)’ but
argument is of type ‘void (*)(const void *)’
     SQLITE_API void sqlite3_result_text(sqlite3_context*, const
char*, int, void(*)(void*));
                     ^

The argument of fossil_free() was changed from a void * to const void
*, that doesn't
look right to me. Trunk compiles without this warning.

My proposed fix, please evaluate:
    <http://fossil-scm.org/index.html/info/svn-import-nowarning>

Regards,
           Jan Nijtmans
_______________________________________________
fossil-dev mailing list
fossil-dev@lists.fossil-scm.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/fossil-dev

Reply via email to