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的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持编程学习网!
本文标题为:在 Visual Studio 2013 中编译 sqlite.c 时收到错误 C4996


- 如何将 SonarQube 6.7 从 MySQL 迁移到 postgresql 2022-01-01
- 在SQL中,如何为每个组选择前2行 2021-01-01
- 更改自动增量起始编号? 2021-01-01
- SQL 临时表问题 2022-01-01
- 如何使用 pip 安装 Python MySQLdb 模块? 2021-01-01
- 以一个值为轴心,但将一行上的数据按另一行分组? 2022-01-01
- 使用 Oracle PL/SQL developer 生成测试数据 2021-01-01
- 如何将 Byte[] 插入 SQL Server VARBINARY 列 2021-01-01
- 远程 mySQL 连接抛出“无法使用旧的不安全身份验证连接到 MySQL 4.1+"来自 XAMPP 的错误 2022-01-01
- 导入具有可变标题的 Excel 文件 2021-01-01