Re: [sqlite] sqlite3.c:134542: warning: assignment from incompatible pointer type
Hello. And, excuse my. 1. It is 3.7.15.1 (fossil tag: release) 2. It is trivial and self-documented. --- ext/rtree/sqlite3rtree.h.orig 2012-12-23 10:02:43.0 +0400 +++ ext/rtree/sqlite3rtree.h2012-12-23 10:03:43.0 +0400 @@ -47,7 +47,11 @@ struct sqlite3_rtree_geometry { void *pContext; /* Copy of pContext passed to s_r_g_c() */ int nParam; /* Size of array aParam[] */ +#ifdef SQLITE_RTREE_INT_ONLY + sqlite3_int64 *aParam; /* Parameters passed to SQL geom function */ +#else double *aParam; /* Parameters passed to SQL geom function */ +#endif void *pUser;/* Callback implementation user data */ void (*xDelUser)(void *); /* Called by SQLite to clean up pUser */ }; 3. Does not apply to him. My system is: FreeBSD test 9.1-PRERELEASE FreeBSD 9.1-PRERELEASE #2: Sat Oct 13 11:23:27 MSK 2012 root@test:/usr/obj/usr/src/sys/GENERIC i386 On Sun, Dec 23, 2012 at 11:49 PM, Larry Brasfield wrote: > Pavel Volkov wrote: >> >> Please consider the following error: >> >> sqlite3.c: In function 'deserializeGeometry': >> sqlite3.c:134542: warning: assignment from incompatible pointer type >> >> And the patch for it. > > > Three questions arise from your message: > 1. Which version of sqlite3.c ? (It's not the latest, apparently.) > 2. What patch? (Attachments are lost when posting here.) > 3. What has this got to do with the referenced post "Sqllite3 dll crash on > ..."? > > -- > Larry Brasfield > > > ___ > sqlite-users mailing list > sqlite-users@sqlite.org > http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users ___ sqlite-users mailing list sqlite-users@sqlite.org http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users
Re: [sqlite] sqlite3.c:134542: warning: assignment from incompatible pointer type
Pavel Volkov wrote: Please consider the following error: sqlite3.c: In function 'deserializeGeometry': sqlite3.c:134542: warning: assignment from incompatible pointer type And the patch for it. Three questions arise from your message: 1. Which version of sqlite3.c ? (It's not the latest, apparently.) 2. What patch? (Attachments are lost when posting here.) 3. What has this got to do with the referenced post "Sqllite3 dll crash on ..."? -- Larry Brasfield ___ sqlite-users mailing list sqlite-users@sqlite.org http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users
Re: [sqlite] sqlite3.c:134542: warning: assignment from incompatible pointer type
On 23 Dec 2012, at 11:51am, Pavel Volkov wrote: > sqlite3.c: In function 'deserializeGeometry': > sqlite3.c:134542: warning: assignment from incompatible pointer type The authors don't normally worry about warnings, since it is impossible to get rid of all warnings from all compilers. However, if you tell us which version of which compiler you're using under which OS someone might take a look. But first, are you absolutely sure that you are compiling sqlite3.c as C source code and not C++ ? Compiling as C++ will yield many warnings. Simon. ___ sqlite-users mailing list sqlite-users@sqlite.org http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users
[sqlite] sqlite3.c:134542: warning: assignment from incompatible pointer type
Hello. Please consider the following error: sqlite3.c: In function 'deserializeGeometry': sqlite3.c:134542: warning: assignment from incompatible pointer type And the patch for it. ___ sqlite-users mailing list sqlite-users@sqlite.org http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users