Hello,
does anybody use sqlite with we7? 

The problem is that wec7 is missing the localtime function, but there is 
replacement code for windows ce in sqlite , but no prototype.
So when i build i get still a  linker error for localtime as localtime is used 
before it is defined and that usage generates a int localtime() without _cdecl.

If my project somehow defines _CRT_INSECURE_DEPRECATE then it gets even worse 
as now sqlite wants to use local time_s, which does snot existt in wec 7 either.

For wec2013 it is a different story as it has localtime and localtime prototype 
in time.h, so you just need to define SQLITE_MSVC_LOCALTIME_API.
But i think it should do this automatically if defined(_WIN32_WCE) && 
_WIN32_WCE >= 0x800

Regards,
Gunnar Roth




Reply via email to