码迷,mamicode.com
首页 > 其他好文 > 详细

visual studio问题

时间:2017-12-10 01:28:02      阅读:202      评论:0      收藏:0      [点我收藏+]

标签:safe   project   处理   图片   预处理器   分享   log   pass   this   

error C4996: ‘std::_Copy_impl‘: 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‘

项目->project名称属性->c\c++ -> 预处理器 -> 预处理器定义 里添加
_SCL_SECURE_NO_WARNINGS 编译成功 ,

技术分享图片

visual studio问题

标签:safe   project   处理   图片   预处理器   分享   log   pass   this   

原文地址:http://www.cnblogs.com/shamoguzhou/p/8013156.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!