VS2013——error C4996: 'std::_Uninitialized_copy0':的解决
问题描述[p=26, 2, left]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 [color=red]-D_SCL_SECURE_NO_WARNINGS[/color]. See documentation on how to use Visual C++ ‘Checked Iterators’ d:\program files\microsoft visual studio 12.0\vc\include\xmemory 348 1 test2[/p]解决方法[p=26, 2, left]右键工程名,进入工程属性页,依次选中:[/p]
[img]http://img.blog.csdn.net/20160315213954217[/img]
[p=26, 2, left]编辑【预处理定义】,如错误提示所说,添加,_SCL_SECURE_NO_WARNINGS:
[/p]
[img]http://img.blog.csdn.net/20160315214312624[/img]
页:
[1]