VS中忽略安全性检查

VS编译过程中出现

'strupr': The POSIX name for this item is deprecated. Instead, use the ISO C++ conformant name: _strupr. See online help for details.
1>          D:\soft_vs\VC\include\string.h(259) : 参见“strupr”的声明

此处,VS认为strupr是不安全的,给出error。
要解决该error,需要在工程中将安全性检查设置为“否”。
具体位置:配置属性->C/C++->SDL检查->设为否。
这里写图片描述

猜你喜欢

转载自blog.csdn.net/u013230291/article/details/78325949
今日推荐