On 11/22/16, Christoph P.U. Kukulies <k...@kukulies.org> wrote:
> Am 22.11.2016 um 16:39 schrieb Richard Hipp:
>> On 11/22/16, Christoph P.U. Kukulies <k...@kukulies.org> wrote:
>>> Am 22.11.2016 um 16:27 schrieb Christoph P.U. Kukulies:
>>>> To whom it may concern: while compiling sqlite3 under
>>>> FreeBSD-11.0-RELEASE
>>>> a compiler warning rushed over the screen:
>>> Sorry, this message got prematurely dismissed:
>> The line numbers in the warnings would be more helpful to us if you
>> told us which version of SQLite you are compiling against.
>>
>>> te3.Tpo -c sqlite/sqlite3.c -o sqlite/libsqlite_static_la-sqlite3.o
>>> sqlite/sqlite3.c:55862:12: warning: unused variable 'pBlock'
>>> [-Wunused-variable]
>>>     sqlite3 *pBlock = 0;
>>>              ^
>
> Not sure cause it scrolled off screen but it may be: sqlite3-3.15.1_1
> (or sqlite3-3.7.17_1).

The "sqlite3 *pBlock = 0;" statement occurs on line 61402 in 3.15.1
and on line 52203 in version 3.7.17.  So you are apparently not
compile either of those.  The statement is line 55860 in SQLite 3.8.9
(2015-04-11, 1.5 years old, 23 subsequent releases).  That line number
is only 2 off from your warning message, suggesting that version 3.8.9
might be what you are compiling.

The "_1" suffix on your version numbers, and the fact that the line
numbers do not match any official SQLite releases, hint that the
FreeBSD people are making their on custom modifications to SQLite,
rather than using the tested and released versions.  If so, then you
should probably report the warnings to them, since for all we know the
warnings may be caused by their modifications.
-- 
D. Richard Hipp
d...@sqlite.org
_______________________________________________
sqlite-users mailing list
sqlite-users@mailinglists.sqlite.org
http://mailinglists.sqlite.org/cgi-bin/mailman/listinfo/sqlite-users

Reply via email to