Dear All, I am compiling the new 3.1.6 version using Devcpp (versione 4.9.9.2 using MINGW with GCC 3.4.2). Compiling the source code I got the following warning
gcc.exe -c vdbeaux.c -o objects/vdbeaux.o -I"D:/Dev-Cpp/include" -DNO_TCL -DNDEBUG=-1 -ansi -fexpensive-optimizations -O3 -march=pentium vdbeaux.c: In function `sqlite3VdbeChangeP3': vdbeaux.c:276: warning: passing arg 1 of `sqlite3FreeX' discards qualifiers from pointer target type The involved line is void sqlite3VdbeChangeP3(Vdbe *p, int addr, const char *zP3, int n){ Op *pOp; assert( p->magic==VDBE_MAGIC_INIT ); if( p==0 || p->aOp==0 ){ if( n==P3_DYNAMIC || n==P3_KEYINFO_HANDOFF ){ sqliteFree(zP3); <==== HERE!!!!! } return; } I didn't get any warning with the 3.1.5, may be is not a problem but I am flagging the warning anyway. I am using the archive http://www.sqlite.org/sqlite-source-3_1_6.zip ready for win32 compilation Regards Massimo