Re: [sqlite] SQLite as a Windows kernel tool

2005-11-02 Thread Russ Freeman
What about these three warnings do you think is a concern? Have you actually looked at the code in question to see if the possibility of data loss is real and unintentional? What makes you think that these warnings are not just a case of the compiler blowing smoke? -- D. Richard Hipp <[EMAIL PR

RE: [sqlite] SQLite as a Windows kernel tool

2005-10-31 Thread Fred Williams
waste any more bandwidth here. If you wish to respond, my email address is in the header Fred > -Original Message- > From: John Stanton [mailto:[EMAIL PROTECTED] > Sent: Monday, October 31, 2005 8:28 AM > To: sqlite-users@sqlite.org > Subject: Re: [sqlite] SQLite as a Window

Re: [sqlite] SQLite as a Windows kernel tool

2005-10-31 Thread Brass Tilde
> Look I'm certain you mean well, but the rest of us are pretty busy using > one of the best small footprint databases on the planet. That means we > are way too busy to nit-pic a good product to pieces, just because it > won't compile clean using Mickeysoft's latest and greatest. It's not a "nit

Re: [sqlite] SQLite as a Windows kernel tool

2005-10-31 Thread John Stanton
What is important is the implication of the compile warnings. I agree that they should not be ignored, but they should be understood. For example we always take pains to remove all compiler warnings, even the innocuous and gratuitous ones, so that "noise" does not hide a significant warning.

RE: [sqlite] SQLite as a Windows kernel tool

2005-10-31 Thread Steve O'Hara
s. Steve -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] rg] On Behalf Of Fred Williams Sent: 31 October 2005 05:19 To: sqlite-users@sqlite.org Subject: RE: [sqlite] SQLite as a Windows kernel tool Look I'm certain you mean well, but the rest of us are pretty bu

Re: [sqlite] SQLite as a Windows kernel tool

2005-10-31 Thread Rob Lohman
I have been silently reading the conversation, but I have to reply on this latest message. - Original Message - From: "Fred Williams" <[EMAIL PROTECTED]> Look I'm certain you mean well, but the rest of us are pretty busy using one of the best small footprint databases on the planet. Th

Re: [sqlite] SQLite as a Windows kernel tool

2005-10-31 Thread Nuno Lucas
On 10/31/05, Fred Williams <[EMAIL PROTECTED]> wrote: > Look I'm certain you mean well, but the rest of us are pretty busy using > one of the best small footprint databases on the planet. That means we > are way too busy to nit-pic a good product to pieces, just because it > won't compile clean us

RE: [sqlite] SQLite as a Windows kernel tool

2005-10-30 Thread Fred Williams
: Sunday, October 30, 2005 3:59 PM > To: sqlite-users@sqlite.org > Subject: Re: [sqlite] SQLite as a Windows kernel tool > > > [EMAIL PROTECTED] schrieb: > > >Ken & Deb Allen <[EMAIL PROTECTED]> wrote: > > > > > >>vdbeapi.c > >>e:\SQLITE

Re: [sqlite] SQLite as a Windows kernel tool

2005-10-30 Thread Dirk Zabel
[EMAIL PROTECTED] schrieb: Ken & Deb Allen <[EMAIL PROTECTED]> wrote: vdbeapi.c e:\SQLITE\327\Source\vdbeapi.c(55) : warning C4244: 'return' : conversion from 'i64' to 'int', possible loss of data e:\SQLITE\327\Source\vdbeapi.c(195) : warning C4244: '=' : conversion from 'double' to 'i64

Re: [sqlite] SQLite as a Windows kernel tool

2005-10-29 Thread Ken & Deb Allen
This has been the whole point of my emails -- I am not sufficiently familiar with the actual code details for me to make that determination. There are no comments to indicate whether the implicit cast is 'safe' or not. I know that some casts are a simple fact of life, especially in UN!X bas

Re: [sqlite] SQLite as a Windows kernel tool

2005-10-29 Thread drh
Ken & Deb Allen <[EMAIL PROTECTED]> wrote: > > vdbeapi.c > e:\SQLITE\327\Source\vdbeapi.c(55) : warning C4244: 'return' : > conversion from 'i64' to 'int', possible loss of data > e:\SQLITE\327\Source\vdbeapi.c(195) : warning C4244: '=' : conversion > from 'double' to 'i64', possible loss of d

Re: [sqlite] SQLite as a Windows kernel tool

2005-10-29 Thread Ken & Deb Allen
This is missing the point. I do not want to suppress the warning message itself, I am interested in removing potential errors from the code. I am well aware that using PRAGMAs can eliminate the display of an error or warning message, but they do not correct the code. It is inherently unsafe

Re: [sqlite] SQLite as a Windows kernel tool

2005-10-28 Thread Eric Bohlman
Ken & Deb Allen wrote: I had a quick look at some of the code, but I am not certain whether all, or even most, of these warnings can be safely ignored or not. I tried modifying the code to add explicit casts to eliminate all of the warnings, which worked, but I do not know whether or not the

Re: [sqlite] SQLite as a Windows kernel tool

2005-10-28 Thread Joel Lucsy
The default for VC7 projects is to check for 64bit portability issues. This is an option in the settings for the project. If you know your system is strictly 32bit, then turn it off and I bet quite a number of warnings would disappear. -- Joel Lucsy "The dinosaurs became extinct because they didn'

[sqlite] SQLite as a Windows kernel tool

2005-10-28 Thread Ken & Deb Allen
I have been toying with the idea of checking whether or not I can use SQLite in a Windows device driver as its database. I am working on an existing product that is implemented as a series of Windows device drivers, filter drivers and even a file system driver. The file system driver manage