C++ build报错 - C4996

报错信息:
严重性 代码 说明 项目 文件 行 禁止显示状态
错误 C4996 '_open': This function or variable may be unsafe. Consider using _sopen_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. HikDoorMngBase E:\WorkSpace_DataShell\projects2\frqToolBox\src\HikDoorMngBase\openssl\applink.c 114

解决方案 参考:https://jingyan.baidu.com/article/49711c616b8a1ffa441b7cdc.html

“C/C++"——”预处理器“ - 添加一句命令:_CRT_SECURE_NO_WARNINGS

你可能感兴趣的:(C++ build报错 - C4996)