error C4996 ‘pugixml_documentload‘ 被声明为已否决的解决方法

Posted 老樊Lu码

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了error C4996 ‘pugixml_documentload‘ 被声明为已否决的解决方法相关的知识,希望对你有一定的参考价值。

Gbd28181Device.cpp(550,18): error C4996: 'pugi::xml_document::load': 被声明为已否决

对于上面的问题,我找到以下三种解决方法:

方法1: Project Properties > Configuration Properties > C/C++ > General > SDL checks关掉

方法2: #pragma warning(disable: 4996)

方法:3: /wd 4996

以上是关于error C4996 ‘pugixml_documentload‘ 被声明为已否决的解决方法的主要内容,如果未能解决你的问题,请参考以下文章

error C4996: 'fopen': This function or variable may be unsafe.

error C4996 ‘pugixml_documentload‘ 被声明为已否决的解决方法

vs2013 error c4996: 'fopen': This function or variable may be unsafe

《C语言杂记》解决 error c4996 ‘fopen‘ This function or variable may be unsafe

《C语言杂记》解决 error c4996 ‘fopen‘ This function or variable may be unsafe

VS 编译C错误error C4996: 'scanf': This function or variable may be unsafe. 的解决方案