To disable this warning, use -D_SCL_SECURE_NO_WARNINGS
2016-06-15 16:54
309 查看
编译caffe时遇到问题:
错误 35 error C4996: ‘std::_Copy_impl’: Function call with parameters that may be unsafe - this call relies on the caller to check that the passed values are correct. To disable this warning, use -D_SCL_SECURE_NO_WARNINGS. See documentation on how to use Visual C++ ‘Checked Iterators’ D:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\include\xutility 2132 1 caffe_project
解决办法:
加入预处理器(项目属性—-C/C++—-预处理—-预处理器定义):
_SCL_SECURE_NO_WARNINGS
错误 35 error C4996: ‘std::_Copy_impl’: Function call with parameters that may be unsafe - this call relies on the caller to check that the passed values are correct. To disable this warning, use -D_SCL_SECURE_NO_WARNINGS. See documentation on how to use Visual C++ ‘Checked Iterators’ D:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\include\xutility 2132 1 caffe_project
解决办法:
加入预处理器(项目属性—-C/C++—-预处理—-预处理器定义):
_SCL_SECURE_NO_WARNINGS
相关文章推荐
- hbase 增删改查操作
- ubuntu常用命令汇总
- https://isux.tencent.com/svg-animate.html(svg动画)
- 浅谈外贸开发技巧
- Jira用户权限设置
- EF 通用数据层 增删改查操作,泛型类II
- cocos2d-x 3.x学习之ScaleAction
- poi解析Excel文件版本问题
- [置顶] Android Studio的设置和相关工具
- 【Android】webview点击跳转APP
- [乐意黎]学驾照之汽车灯光
- 自己遇到的ajax调用ashx文件无法获取返回值的一种情况
- 面向接口编程之二——编程实例
- POJ1745
- APP字体大小,不随系统的字体大小变化而变化的方法
- ios中Search Paths的理解
- 代码总结:Fragment之间传递参数和Fragment返回上一个Fragment传回数据
- java导入cer证书
- 简单的继承和派生
- Python学习笔记 20160615