Board logo

标题: [软件故障] VS2013——error C4996: 'std::_Uninitialized_copy0':的解决 [打印本页]

作者: shillan    时间: 2018-3-12 16:58     标题: VS2013——error C4996: 'std::_Uninitialized_copy0':的解决

问题描述

error C4996: ‘std::_Uninitialized_copy0’: 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\microsoft visual studio 12.0\vc\include\xmemory 348 1 test2

解决方法

右键工程名,进入工程属性页,依次选中:




编辑【预处理定义】,如错误提示所说,添加,_SCL_SECURE_NO_WARNINGS:







欢迎光临 逐梦论坛 (http://temp2023.zhumeng.org/) Powered by Discuz! 7.2