sqlite 3.6.22 amalgamation

Started by Alessio, February 16, 2010, 10:23:21 AM

Previous topic - Next topic

Alessio

Hi,
how to build a project with sqlite 3.6.22 amalgamation ?

I define _WIN32_WCE and SQLITE_OMIT_LOCALTIME, add structure tm
but it seems to lock when build.

(It compile fine with PellesC 5.0.0.1)

Thanks,
Alessio


vain

I got similar problem with 3.6.23.1 amalgamation, so I tried the separate source distribution.
It locks up in files fts3_write.c and pager.c from sqlite-source-3_6_23_1.zip. Compiling fts3_write.c it gives a warning:
fts3_write.c(1065): warning #2168: Operands of '=' have incompatible types 'int __cdecl function(const void *, const void *)' and 'int __stdcall function(const void *, const void *)'
and proceeds to loop forever. Here's function sqlite3Fts3SegReaderPending(...):

1064:    if( nElem>1 ){
1065:      qsort(aElem, nElem, sizeof(Fts3HashElem *), fts3CompareElemByTerm);
1066:    }


With pager.c it runs straight to outer space without any warnings or errors  ;D
Task Manager invariably reported pocc.exe using 50-51% CPU and 2,188K memory.