Error C4996 received when compiling sqlite.c in Visual Studio 2013

compiler-errors, sqlite, visual-studio-2013

Solution

This is because SDL check, try to disable SDL checks:

Project Properties > Configuration Properties > C/C++ > General > SDL checks [set to No]

Problem

I ported my project over from Visual Studio 2012 to 2013 and sqlite.c will not compile in it. I'm receiving this compile-time error: ``` error C4996: 'GetVersionExA': was declared deprecated error C4996: 'GetVersionExW' was declared deprecated ``` I got the latest version of sqlite to ensure it hasn't been accounted for, but it has not. I'm not sure what to do about this error. I have made no modifications to the source; I'm simply creating a project and including sqlite.h and sqlite.c. Thanks.

Original source