Hi Jonathan,
I don't use Borland C, so I can' help you with the specifics of that
compiler.
But no, you don't necessarily get an executable just by compiling with a
C compiler. You should be able to compile SQLite with a C compiler,
and in the process obtain one or more .o files. (Perhaps
Also, I tried changing to #ifdef __cplusplus and I still encounter many
errors such as "Constant member 'sqlite3_index_info::nConstraint' in class
without constructors" which is the same error as in sqlite3.h
Thanks
- Jon
-Original Message-
From: Joe Wilson [mailto:[EMAIL PROTECTED]
Sent
Hi Ulrik,
Thank you for responding. I'll try anything! The frustration that all
this has brought me I am determined to solve it.
If I built SQLite with a C compiler what would be the result? What would
I be able to work with from within c++? Won't compiling leave me with an
executable?
Hi Jon,
is it not an option to build SQLite with a C compiler, then call it from
within C++?
Regards,
Ulrik Petersen
Jonathan Kahn wrote:
Even when I try to build a new dll I get errors with attach.c and it says
cannot convert 'void *' to 'Db *', no matter what route I take I always hit
a
--- Jonathan Kahn <[EMAIL PROTECTED]> wrote:
> I really appreciate your response. What do you suggest I do? Is there
> something else I need to include aside from sqlite3.lib? I am willing to
> try anything.
I only use GNU C++, so I can't help you with .lib files.
I'd suggest to compile sqlite
Even when I try to build a new dll I get errors with attach.c and it says
cannot convert 'void *' to 'Db *', no matter what route I take I always hit
a bump. I'm just trying anything at this point
- Jon
-Original Message-
From: Joe Wilson [mailto:[EMAIL PROTECTED]
Sent: Sunday, April 29
I really appreciate your response. What do you suggest I do? Is there
something else I need to include aside from sqlite3.lib? I am willing to
try anything.
Thanks a lot
- Jon
-Original Message-
From: Joe Wilson [mailto:[EMAIL PROTECTED]
Sent: Sunday, April 29, 2007 1:59 AM
To: sqlite
I wrote too quickly - sqlite3.h correctly uses __cplusplus for extern "C".
But the almalgomated sqlite3.c cannot be compiled from a C++ compiler
for the reasons described below.
--- Joe Wilson <[EMAIL PROTECTED]> wrote:
> > When I try to use the header I get errors
> >
> > [C++ Error] sqlite3
> When I try to use the header I get errors
>
> [C++ Error] sqlite3.h(1778): E2232 Constant member
> 'sqlite3_index_info::nConstraint' in class without constructors
It appears it is trying to compile the sqlite header file as if it were C++.
Lemme guess - you're using the almalgomated sqlite3.
This is my first post and it is out of desperation. I am using Borland c++
builder with Borland developer studio 2006 I can not for the life of me get
anything sqlite functioning properly with this. I have relentlessly
searched google as well as the mailing list and tried any information I have
f
Following up an old thread:
The SQLite sources include an (Apple-supplied) patch to work around
the problem. Recompile
with
-DSQLITE_ENABLE_LOCKING_STYLE=1
We are working toward turning on this patch by default, but we are
not quite there yet.
I compiled and ran SQLite 3.3.17 and got
11 matches
Mail list logo