友情提示:欢迎光临,本博客提供的代码,请粘贴到EditPlus 3中使用!!请使用火狐,Chrome浏览器进行浏览网站!出售wenca.cn域名,有要的请M我qq:316358892

centos7编译libiconv报错:./stdio.h:1010:1: error: 'gets' undeclared here (not in a function)

post by rocdk890 / 2016-10-28 17:24 Friday linux技术

  今天在centos7上安装lnmp环境的时候,进行make的时候报如下错误:
In file included from progname.c:26:0:
./stdio.h:1010:1: error: ‘gets’ undeclared here (not in a function)
 _GL_WARN_ON_USE (gets, "gets is a security hole - use fgets instead");
 ^
make[2]: *** [progname.o] Error 1
make[2]: Leaving directory `/usr...

阅读全文>>

标签: centos error function included security instead

评论(0) 引用(0) 浏览(2554)