Re: [sqlite] Compiling SQLite3 with MSVC 2010

2012-11-03 Thread Igor Korot
Simon, On Fri, Nov 2, 2012 at 5:05 PM, Simon Slavin slav...@bigfraud.org wrote: On 2 Nov 2012, at 11:52pm, Igor Korot ikoro...@gmail.com wrote: But C program should compile fine whether you use C or C++ compiler. Is it not? I am repeatedly told that you must tell a C compiler that .c

Re: [sqlite] Compiling SQLite3 with MSVC 2010

2012-11-03 Thread Igor Korot
Joe, On Fri, Nov 2, 2012 at 5:32 PM, Joe Mistachkin sql...@mistachkin.com wrote: Igor Korot wrote: Warning Level: /W4 Trying to compile it in the debug mode with WIN32, UNICODE, Multi-threaded Debug DLL (/MDd). The /W4 option produces a lot of compiler warnings, mostly related to

Re: [sqlite] Compiling SQLite3 with MSVC 2010

2012-11-03 Thread Black, Michael (IS)
From: sqlite-users-boun...@sqlite.org [sqlite-users-boun...@sqlite.org] on behalf of Igor Korot [ikoro...@gmail.com] Sent: Friday, November 02, 2012 6:25 PM To: General Discussion of SQLite Database Subject: EXT :Re: [sqlite] Compiling SQLite3 with MSVC 2010 Richard, On Fri

Re: [sqlite] Compiling SQLite3 with MSVC 2010

2012-11-03 Thread Jonas Malaco Filho
SQLite3 with MSVC 2010 Richard, On Fri, Nov 2, 2012 at 4:14 PM, Richard Hipp d...@sqlite.org wrote: On Fri, Nov 2, 2012 at 7:05 PM, Igor Korot ikoro...@gmail.com wrote: Hi, ALL, Is anybody trying to compile SQLite with MSVC 2010? Tests 9e and 9f at http://www.sqlite.org/checklists

[sqlite] Compiling SQLite3 with MSVC 2010

2012-11-02 Thread Igor Korot
Hi, ALL, Is anybody trying to compile SQLite with MSVC 2010? I am getting a lot of warnings. Is there any interest in fixing those? If not what is the policy of using SQLite3 code? I'm using 3.7.14 release. Thank you. ___ sqlite-users mailing list

Re: [sqlite] Compiling SQLite3 with MSVC 2010

2012-11-02 Thread Richard Hipp
On Fri, Nov 2, 2012 at 7:05 PM, Igor Korot ikoro...@gmail.com wrote: Hi, ALL, Is anybody trying to compile SQLite with MSVC 2010? Tests 9e and 9f at http://www.sqlite.org/checklists/3071400#c9 were performed using MSVC 2010. I am getting a lot of warnings. Is there any interest in fixing

Re: [sqlite] Compiling SQLite3 with MSVC 2010

2012-11-02 Thread Igor Korot
Richard, On Fri, Nov 2, 2012 at 4:14 PM, Richard Hipp d...@sqlite.org wrote: On Fri, Nov 2, 2012 at 7:05 PM, Igor Korot ikoro...@gmail.com wrote: Hi, ALL, Is anybody trying to compile SQLite with MSVC 2010? Tests 9e and 9f at http://www.sqlite.org/checklists/3071400#c9 were performed

Re: [sqlite] Compiling SQLite3 with MSVC 2010

2012-11-02 Thread Richard Hipp
On Fri, Nov 2, 2012 at 7:25 PM, Igor Korot ikoro...@gmail.com wrote: Richard, On Fri, Nov 2, 2012 at 4:14 PM, Richard Hipp d...@sqlite.org wrote: On Fri, Nov 2, 2012 at 7:05 PM, Igor Korot ikoro...@gmail.com wrote: Hi, ALL, Is anybody trying to compile SQLite with MSVC 2010?

Re: [sqlite] Compiling SQLite3 with MSVC 2010

2012-11-02 Thread Joe Mistachkin
Igor Korot wrote: I just read this link. Interesting information. IIUC, all those warnings are harmless and they do not appear on other platforms. Which means that either gcc is more forgiving or that I am trying to compile my application with some very strange configuration. Or maybe it's

Re: [sqlite] Compiling SQLite3 with MSVC 2010

2012-11-02 Thread Igor Korot
Richard, On Fri, Nov 2, 2012 at 4:32 PM, Richard Hipp d...@sqlite.org wrote: On Fri, Nov 2, 2012 at 7:25 PM, Igor Korot ikoro...@gmail.com wrote: Richard, On Fri, Nov 2, 2012 at 4:14 PM, Richard Hipp d...@sqlite.org wrote: On Fri, Nov 2, 2012 at 7:05 PM, Igor Korot ikoro...@gmail.com

Re: [sqlite] Compiling SQLite3 with MSVC 2010

2012-11-02 Thread Igor Korot
Hi, Joe, On Fri, Nov 2, 2012 at 4:34 PM, Joe Mistachkin sql...@mistachkin.com wrote: Igor Korot wrote: I just read this link. Interesting information. IIUC, all those warnings are harmless and they do not appear on other platforms. Which means that either gcc is more forgiving or that I am

Re: [sqlite] Compiling SQLite3 with MSVC 2010

2012-11-02 Thread Simon Slavin
On 2 Nov 2012, at 11:52pm, Igor Korot ikoro...@gmail.com wrote: But C program should compile fine whether you use C or C++ compiler. Is it not? I am repeatedly told that you must tell a C compiler that .c files are C files, and that .cpp files are C++ files. Compiling a C file as if it's

Re: [sqlite] Compiling SQLite3 with MSVC 2010

2012-11-02 Thread Keith Medcalf
Fortunately, all C++ compilers I know can compile C too. Likely because C++ is rarely anything more than syntactic sugar on standard C ... --- () ascii ribbon campaign against html e-mail /\ www.asciiribbon.org ___ sqlite-users mailing list

Re: [sqlite] Compiling SQLite3 with MSVC 2010

2012-11-02 Thread Joe Mistachkin
Igor Korot wrote: Warning Level: /W4 Trying to compile it in the debug mode with WIN32, UNICODE, Multi-threaded Debug DLL (/MDd). The /W4 option produces a lot of compiler warnings, mostly related to perceived 64-bit portability issues. These warnings are harmless and can be safely

Re: [sqlite] Compiling SQLite3 with MSVC 2010

2012-11-02 Thread Igor Tandetnik
Igor Korot ikoro...@gmail.com wrote: But C program should compile fine whether you use C or C++ compiler. Is it not? No. A valid C program doesn't have to be a valid C++ program. As a simplest example, C allows implicit conversion from void* to any other pointer type, while C++ does not. So