问题描述 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:
|