解决Visual Studio2015使用Boost库 error C4996: 'std::copy::_Unchecked_iterators::_Deprecate'
来源:互联网 发布:阴茎粗大的感受 知乎 编辑:程序博客网 时间:2024/06/15 13:22
在Visual Studio2015使用Boost库的时候,出现如下错误:
error C4996: 'std::copy::_Unchecked_iterators::_Deprecate': Call to 'std::copy' 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'
解决办法
在工程属性—>C/C++—>命令行—>其他选项 中添加:-D_SCL_SECURE_NO_WARNINGS
以上,错误解除
1 0
- 解决Visual Studio2015使用Boost库 error C4996: 'std::copy::_Unchecked_iterators::_Deprecate'
- std::uninitialized_copy::_Unchecked_iterators::_Deprecate
- 关于visual studio2015配置boost库的问题
- error C4996: 'fopen' 解决
- 解决error C4996 问题
- VS2013——error C4996: 'std::_Uninitialized_copy0':
- 【C++】错误 164 error C4996: 'std::_Fill_n':
- VS2013 error C4996: 'std::_Copy_impl'解决方法
- Visual Studio2015错误C4996 'strcpy': This function or variable may be unsafe. Consider using strcpy_
- 解决error C4996: 'fopen'问题
- Visual Studio 2013 出现error C4996(fopen函数出错)如何解决
- Visual Studio中郁闷的Error C4996
- 解决Visual Studio2015安装路径不能修改的问题
- std::pair, std::copy, std::lower_bound, std::back_insert使用
- xmemory(348): error C4996: 'std::_Uninitialized_copy0': 的解决方法
- 在Win10上使用Visual Studio2015的Android模拟器
- 在visual studio2015中如何使用localDB具体讲解
- visual studio2015单元测试
- September 10th 模拟赛C T1 电影票 Solution
- 决策树-信息增益,信息增益率,Gini
- 【JZOJ4772】运输妹子
- 51nod 迷宫问题
- 初中OJ1997【2015.8.3普及组模拟赛】WZK打雪仗(war)
- 解决Visual Studio2015使用Boost库 error C4996: 'std::copy::_Unchecked_iterators::_Deprecate'
- 第3周 项目2 建设“顺序表”算法库
- 链表的排序(CVTE一面)
- 多进程编程学习笔记-1-进程基础
- 网络层---计算机网络
- day16集合
- 设计模式之13--模板模式
- JS中Array方法中常用方法四:Array.prototype.pop()
- Lucene (v4.5) 深入学习(一) —— 原理