Below bug fixes for extensions in ext/misc based on sqlite 3.32.0. I hope that sending in patches like this is OK. Thanks, J. --- a/ext/misc/sqlar.c Fri May 22 21:23:11 2020 +++ b/ext/misc/sqlar.c Sun May 24 00:16:40 2020 @@ -17,6 +17,7 @@ #include "sqlite3ext.h" SQLITE_EXTENSION_INIT1 #include <zlib.h> +#include <assert.h> /* ** Implementation of the "sqlar_compress(X)" SQL function. --- a/ext/misc/vfsstat.c Fri May 22 21:23:11 2020 +++ b/ext/misc/vfsstat.c Sun May 24 01:26:29 2020 @@ -811,7 +811,7 @@ if( rc==SQLITE_OK ){ rc = vstatRegister(db, pzErrMsg, pApi); if( rc==SQLITE_OK ){ - rc = sqlite3_auto_extension(vstatRegister); + rc = sqlite3_auto_extension((void (*)(void))vstatRegister); } } if( rc==SQLITE_OK ) rc = SQLITE_OK_LOAD_PERMANENTLY;