Realised I also fixed this warning before posting too:

  static const VdbeOp dummy;  /* Ignore the MSVC warning about no
initializer */
> warning C4132: 'dummy' : const object should be initialized

Another not entirely worrysome issue, but thought I'd mention it.

Here's another that was in 3.6.x that I just hid with a pragma:
  pPage->nFree -= (nCell*2 + nUsable - cellbody);
> warning C4244: '-=' : conversion from 'int' to 'u16', possible loss of
data

Thanks,
Nick.
--- 


> -----Original Message-----
> From: [email protected] [mailto:sqlite-users-
> [email protected]] On Behalf Of Nick Shaw
> Sent: 07 July 2010 14:47
> To: [email protected]
> Subject: Re: [sqlite] SqLite 3.7.0 amalgamation build warnings
> 
> Forgot to say: I've got these lines added at the top of the file (thus
> the line number references are 7 lines lower than the original
source):
> 
> //---  Added lines:
> #pragma warning (disable:4127)
> #pragma warning (disable:4244)
> #pragma warning (disable:4706)
> #define SQLITE_ENABLE_COLUMN_METADATA
> // --- End added lines
> 
> The pragma warnings are to disable other build warnings that I
consider
> safe to ignore.  The lowest one, 4706 is the compile warning I mention
> below, and is caused by this specific line of code:
> 
> for(eMode=0; (zMode = sqlite3JournalModename(eMode)); eMode++){
> 
> Thanks,
> Nick.
> 
> > -----Original Message-----
> > From: [email protected] [mailto:sqlite-users-
> > [email protected]] On Behalf Of Nick Shaw
> > Sent: 07 July 2010 13:43
> > To: [email protected]
> > Subject: [sqlite] SqLite 3.7.0 amalgamation build warnings
> >
> > Hi,
> >
> >
> >
> > I wanted to test the upcoming 3.7.0 build of sqlite to assist in the
> > 'beta testing', however I'm getting the following build warnings
which
> > did not appear when compiling 3.6.x amalgamations.  Please let me
know
> > if they are considered safe to ignore:
> >
> >
> >
> > (building in Visual Studio 2008 as part of a static link library;
> sqlite
> > build is the amalgamation taken from yesterday's snapshot)
> >
> >
> >
> > When compiling:
> >
> > 1>c:\dev\tools\sqlite3.c(83600) : warning C4706: assignment within
> > conditional expression
> >
> >
> >
> > And when building:
> >
> > 1>c:\dev\tools\sqlite3.c(34990) : warning BK4504 : file contains too
> > many references; ignoring further references from this source
> >
> >
> >
> > The latter one concerns me the most.  I can hide the first one with
a
> > compiler pragma, but I can't hide the second as it's a BSCMAKE
> warning.
> >
> >
> >
> > Thanks,
> >
> > Nick.
> >
> >
> >
> >
> >
> > _______________________________________________
> > sqlite-users mailing list
> > [email protected]
> > http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users
> _______________________________________________
> sqlite-users mailing list
> [email protected]
> http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users
_______________________________________________
sqlite-users mailing list
[email protected]
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

Reply via email to