返回列表 发帖

[软件故障] 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:


欢迎光临:逐梦论坛

返回列表

Powered by Discuz! 7.2   论坛QQ群:逐梦论坛群

© 2001-2021 Comsenz Inc. 鲁公网安备 37120302000001号