I am trying to compile the latest sqlite 3.7.11 amalgamation C file within a
Visual Studio 2008 Express C++ project.
sqlite3.c is correctly set as to be compiled as C code but I am unable to find
out a way to fix some compilation errors:
Compiling...
sqlite3.c
..\Sources\sqlite3.c(107831) : erro
-Original Message-
> I am trying to compile the latest sqlite 3.7.11 amalgamation C file within a
> Visual Studio 2008 Express C++ project.
> sqlite3.c is correctly set as to be compiled as C code but I am unable to
> find out a way to fix some compilation errors:
>
> Compiling...
> sqlit
> -Original Message-
> From: sqlite-users-boun...@sqlite.org [mailto:sqlite-users-
> boun...@sqlite.org] On Behalf Of Marco Bambini
> Sent: vrijdag 30 maart 2012 9:52
> To: General Discussion of SQLite Database
> Subject: [sqlite] Visual Studio 2008 Express and sqlite3.
Please note that if I use the same compiler to compile sqlite3.c as a single c
file than everything is compiled without errors.
Errors occurs only when sqlite3.c is part of a c++ project.
I also manually set sqlite3.c to be compiled as C file instead of Default
without any luck.
Seems like somet
Hello Marco,
You have to make sure it's building as C and not C++. This suggests
you might have your project set to build everything as C++. In my
case, I made a new subproject for Sqlite that builts it into a Lib.
Then I set the build dependencies so the lib is used automatically at
link time.
.org]
On Behalf Of Marco Bambini
Sent: Friday, March 30, 2012 8:33 AM
To: General Discussion of SQLite Database
Subject: Re: [sqlite] Visual Studio 2008 Express and sqlite3.c
Please note that if I use the same compiler to compile sqlite3.c as a single c
file than everything is compiled without e
g] On Behalf Of Marco Bambini
>> Sent: vrijdag 30 maart 2012 9:52
>> To: General Discussion of SQLite Database
>> Subject: [sqlite] Visual Studio 2008 Express and sqlite3.c
>>
>> I am trying to compile the latest sqlite 3.7.11 amalgamation C file within
> a
>> Vis
Bert Huijben wrote:
> int not; /* True if the NOT keyword is present */
"not" is a so-called alternative token for !. In C++, it's built into the
language, and cannot be used as an identifier. In C, it is defined as a macro
in iso646.h header. If nothing else, it's probably a poor choi
8 matches
Mail list logo