首页 > 其他 > 详细

VS2013编译protobuf报错:error C4996: 'std::_Copy_impl': Function call with parameters that may be unsafe

时间:2017-06-06 00:38:38      阅读:853      评论:0      收藏:0      [点我收藏+]

今天碰到这个问题,网上找了好久, 解决方法如下

VS2013编译protobuf报错:error C4996: ‘std::_Copy_impl‘: Function call with parameters that may be unsafe
方法一 
右键点击工程 -> 属性 -> C/C++ -> 常规 -> SDL检查 
改为:否 (/sdl-) 
编译 

O了! 

方法二 
右键点击工程 -> 属性 -> C/C++ ->预处理器 
添加宏定义 _SCL_SECURE_NO_WARNINGS 
编译 

O了!

VS2013编译protobuf报错:error C4996: ‘std::_Copy_impl‘: Function call with parameters that may be unsafe

VS2013编译protobuf报错:error C4996: 'std::_Copy_impl': Function call with parameters that may be unsafe

原文:http://www.cnblogs.com/skynet996/p/6947591.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!