#1 2018-03-20 09:10:12

itSDS
Member
From: Germany
Registered: 2014-04-24
Posts: 516

sqlite.c compile error with tokyo 10.2.3

Hi AB there is the following compiler error generated from bcc of Tokyo (and other i suppose)

./amalgamation/sqlite3.c:50463:21: error: Wert in Ausdruck erwartet
#if SQLITE_HAS_CODEC     <----

in sqlite.c you define SQLITE_HAS_CODEC
with

#define SQLITE_HAS_CODEC

to make the code compile you have to provide a value to SQLITE_HAS_CODEC

correct code:

#define SQLITE_HAS_CODEC 0
or
#define SQLITE_HAS_CODEC 1

I non't know if it should be a 1 or 0

can you pls fix this


Rad Studio 12.1 Santorini

Offline

#2 2018-03-20 13:46:01

ab
Administrator
From: France
Registered: 2010-06-21
Posts: 14,669
Website

Re: sqlite.c compile error with tokyo 10.2.3

This is more a problem of the amalgamation file itself...
To compile, we patched our local sqlite3.c file with #ifdef instead of #if.

Perhaps defining SQLITE_HAS_CODEC to 1 may help.

Please check https://synopse.info/fossil/info/27c53af859

Offline

Board footer

Powered by FluxBB