error C4996: 'fopen' 解决
来源:互联网 发布:古巴网络 编辑:程序博客网 时间:2024/05/21 10:40
编译lua源码时,使用vs2012,遇到如下错误。
1>------ 已启动生成: 项目: 20130925, 配置: Debug Win32 ------
1> stdafx.cpp
1>d:\code\20130925\20130925\stdafx.cpp(18): error C4996: 'fopen': This function or variable may be unsafe. Consider using fopen_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
1> d:\vs2012\vc\include\stdio.h(218) : 参见“fopen”的声明
1> 20130925.cpp
1> 正在生成代码...
========== 生成: 成功 0 个,失败 1 个,最新 0 个,跳过 0 个 ==========
解决方案,项目 ->属性 -> c/c++ -> 预处理器 -> 点击预处理器定义,编辑,加入_CRT_SECURE_NO_WARNINGS,即可
0 0
- error C4996: 'fopen' 解决
- 解决error C4996: 'fopen'问题
- 如何解决error C4996: 'fopen'问题
- 如何解决opencv2 error C4996: 'fopen'
- 如何解决error C4996: 'fopen'的问题
- vs2012 error c4996 'fopen'
- error C4996: 'fopen'问题
- VS2013中如何解决error C4996: 'fopen'问题
- VS2013中如何解决error C4996: 'fopen'问题及_CRT_SECURE_NO_WARNINGS
- VS2013中如何解决error C4996: 'fopen'问题
- VS2013中如何解决error C4996: 'fopen'问题
- VS2013中如何解决error C4996: 'fopen'问题
- VS2013中如何解决error C4996: 'fopen'问题
- S2013中如何解决error C4996: 'fopen'问题
- VS2013中如何解决error C4996: 'fopen'问
- 已解决error C4996: 'fopen': This function or variable may be unsafe. Consider using fopen_s instead.
- Visual Studio 2013 出现error C4996(fopen函数出错)如何解决
- error c4996: 'fopen' This function or variable may be unsafe如何解决
- oj平台 期末刷题二(第十一到十五)
- 漫步IOS--Xcode修改字体、多工程创建和切换
- 同一客户端多个git账号的配置
- 75前面提到的nameNotFoundException的解决
- 最简单的基于librtmp的示例:发布(FLV通过RTMP发布)
- error C4996: 'fopen' 解决
- 打印M的方法 java
- Pascal's Triangle (Java)
- Ubuntu12.04 samba服务器搭建
- oracle数据库默认账号
- grep的用法
- cout格式控制
- android 自定义控件 使用declare-styleable进行配置属性(源码角度)
- Eclipse编辑器基本设置