Re: [sqlite] Compile error's on Visual Studio 2010

2011-05-09 Thread Jan Berger
e: [sqlite] Compile error's on Visual Studio 2010 Hello Jay, I haven't found this to be the case. I have numerous C only library's I compile and I don't have to change the defaults to compile them. There is an option to force C++ compiles but, I don't believe it'

Re: [sqlite] Compile error's on Visual Studio 2010

2011-05-08 Thread Jan Berger
2011 23:48 To: General Discussion of SQLite Database Subject: Re: [sqlite] Compile error's on Visual Studio 2010 Hello Jay, I haven't found this to be the case. I have numerous C only library's I compile and I don't have to change the defaults to compile them. There is an optio

Re: [sqlite] Compile error's on Visual Studio 2010

2011-05-08 Thread Teg
Hello Jay, I haven't found this to be the case. I have numerous C only library's I compile and I don't have to change the defaults to compile them. There is an option to force C++ compiles but, I don't believe it's on by default. JAK> In most default setups, Visual Studio insists on compiling .

Re: [sqlite] Compile error's on Visual Studio 2010

2011-05-08 Thread Jay A. Kreibich
On Sun, May 08, 2011 at 12:50:31PM +0200, Jan Berger scratched on the wall: > I am new to sqlite3 and just downloaded the code trying to test it from a > C++ application using Visual Studio 2010. I just created a class and > included the sqlite3.c and sqlite3.h from amalgamation-3070602 directly.

Re: [sqlite] Compile error's on Visual Studio 2010

2011-05-08 Thread Jan Berger
Message- From: sqlite-users-boun...@sqlite.org [mailto:sqlite-users-boun...@sqlite.org] On Behalf Of Teg Sent: 8. mai 2011 13:30 To: General Discussion of SQLite Database Subject: Re: [sqlite] Compile error's on Visual Studio 2010 Hello Jan, Move it into it's own project, make it a

Re: [sqlite] Compile error's on Visual Studio 2010

2011-05-08 Thread Teg
Hello Jan, Move it into it's own project, make it a static lib and turn down the warning level just for this project. That's what I do anyway. I'm not willing to touch the code but, that seems to be the only other solution. Sunday, May 8, 2011, 6:50:31 AM, you wrote: JB> Hi, JB> JB> I am ne

Re: [sqlite] Compile error's on Visual Studio 2010

2011-05-08 Thread Richard Hipp
On Sun, May 8, 2011 at 6:50 AM, Jan Berger wrote: > Hi, > > > > I am new to sqlite3 and just downloaded the code trying to test it from a > C++ application using Visual Studio 2010. I just created a class and > included the sqlite3.c and sqlite3.h from amalgamation-3070602 directly. > > > > The h

[sqlite] Compile error's on Visual Studio 2010

2011-05-08 Thread Jan Berger
Hi, I am new to sqlite3 and just downloaded the code trying to test it from a C++ application using Visual Studio 2010. I just created a class and included the sqlite3.c and sqlite3.h from amalgamation-3070602 directly. The header compiles fine, but on the sqlite3.c I get typecast errors. T