您的位置:首页 > 其它

安装lumanager 出错 _GL_WARN_ON_USE (gets, "gets is a security hole - use fgets instead");

2016-08-19 11:57 190 查看
解决方法:

定位有问题的stdio.h文件

找的 _GL_WARN_ON_USE (gets, "gets is a security hole - use fgets instead");

注释 _GL_WARN_ON_USE (gets, "gets is a security hole - use fgets instead");

然后加上下面代码

#if defined(__GLIBC__) && !defined(__UCLIBC__) && !__GLIBC_PREREQ(2, 16)
_GL_WARN_ON_USE (gets, "gets is a security hole - use fgets instead");
#endif
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
相关文章推荐