On 2/14/17, Bart Smissaert <bart.smissa...@gmail.com> wrote: > I just tried with an old 3.11.1 and got different errors:
When did a "potentially uninitialized variable" become an error rather than a warning? This is important because MSVC is notoriously bad about overestimating the chances of a variable being used uninitialized. > > Error 1 error C4703: potentially uninitialized local pointer variable > 'pDbPage' used c:\program files (x86)\microsoft visual studio > 12.0\vc\vcprojects\win32\sqlite\3_11_1\sqlite3.c 57565 1 SQLite > Error 2 error C4703: potentially uninitialized local pointer variable > 'pDbPage' used c:\program files (x86)\microsoft visual studio > 12.0\vc\vcprojects\win32\sqlite\3_11_1\sqlite3.c 57498 1 SQLite > Error 3 error C4703: potentially uninitialized local pointer variable > 'pDbPage' used c:\program files (x86)\microsoft visual studio > 12.0\vc\vcprojects\win32\sqlite\3_11_1\sqlite3.c 56552 1 SQLite > Error 4 error C4703: potentially uninitialized local pointer variable > 'pPage' used c:\program files (x86)\microsoft visual studio > 12.0\vc\vcprojects\win32\sqlite\3_11_1\sqlite3.c 49637 1 SQLite > Error 5 error C4703: potentially uninitialized local pointer variable > 'pPgHdr' used c:\program files (x86)\microsoft visual studio > 12.0\vc\vcprojects\win32\sqlite\3_11_1\sqlite3.c 50675 1 SQLite > Error 6 error C4703: potentially uninitialized local pointer variable > 'pPgHdr' used c:\program files (x86)\microsoft visual studio > 12.0\vc\vcprojects\win32\sqlite\3_11_1\sqlite3.c 49804 1 SQLite > Error 7 error C4703: potentially uninitialized local pointer variable > 'pDbPage' used c:\program files (x86)\microsoft visual studio > 12.0\vc\vcprojects\win32\sqlite\3_11_1\sqlite3.c 60186 1 SQLite > Error 8 error C4703: potentially uninitialized local pointer variable > 'pOvflPage' used c:\program files (x86)\microsoft visual studio > 12.0\vc\vcprojects\win32\sqlite\3_11_1\sqlite3.c 64506 1 SQLite > Error 9 error C4703: potentially uninitialized local pointer variable > 'pSrcPg' used c:\program files (x86)\microsoft visual studio > 12.0\vc\vcprojects\win32\sqlite\3_11_1\sqlite3.c 65695 1 SQLite > Error 10 error C4703: potentially uninitialized local pointer variable > 'pPg' used c:\program files (x86)\microsoft visual studio > 12.0\vc\vcprojects\win32\sqlite\3_11_1\sqlite3.c 65795 1 SQLite > Error 11 error LNK1257: code generation failed C:\Program Files > (x86)\Microsoft Visual Studio > 12.0\VC\vcprojects\Win32\SQLite\3_11_1\SQLite\SQLite\LINK SQLite > > RBS > > On Tue, Feb 14, 2017 at 10:30 PM, Simon Slavin <slav...@bigfraud.org> wrote: > >> >> On 14 Feb 2017, at 10:27pm, Bob Friesenhahn <bfrie...@simple.dallas.tx.us> >> wrote: >> >> > On Tue, 14 Feb 2017, Simon Slavin wrote: >> >> >> >> There’s always the chance that your copy of VC (or its compiler) got >> corrupted somehow. >> > >> > I think that this compiler uses a rolling release model so not everyone >> is using the same "MSVS 12" compiler. >> >> Ahha ! >> >> > Macros defined by the system headers are the most likely cause of the >> problem. Windows headers are very unclean and its pre-processor >> definitions >> often overwrite user code. >> >> Well, how about this ? Can Bart get hold of a slightly old version of >> SQLite — one which he originally compiled without problems and see whether >> he can still compile it ? >> >> If he can’t, the compiler changed. If he can, then a diff between old and >> new source code should help to identify the problem. >> >> Simon. >> _______________________________________________ >> sqlite-users mailing list >> sqlite-users@mailinglists.sqlite.org >> http://mailinglists.sqlite.org/cgi-bin/mailman/listinfo/sqlite-users >> > _______________________________________________ > sqlite-users mailing list > sqlite-users@mailinglists.sqlite.org > http://mailinglists.sqlite.org/cgi-bin/mailman/listinfo/sqlite-users > -- D. Richard Hipp d...@sqlite.org _______________________________________________ sqlite-users mailing list sqlite-users@mailinglists.sqlite.org http://mailinglists.sqlite.org/cgi-bin/mailman/listinfo/sqlite-users