在Visual Studio 2013中编译sqlite.c时收到错误C4996 [英] Error C4996 received when compiling sqlite.c in Visual Studio 2013
本文介绍了在Visual Studio 2013中编译sqlite.c时收到错误C4996的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我将我的项目从Visual Studio 2012移植到2013和sqlite.c将无法编译。我收到此编译时错误:
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
我有最新版本的sqlite,占了,但它没有。我不知道该怎么做这个错误。我没有对源进行任何修改;我只是创建一个项目,包括sqlite.h和sqlite.c。
感谢。
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.
推荐答案
这是因为SDL检查,尝试禁用SDL
This is because SDL check, try to disable SDL checks:
Project Properties > Configuration Properties > C/C++ > General > SDL checks [set to No]
这篇关于在Visual Studio 2013中编译sqlite.c时收到错误C4996的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文