进入到srclib目录下 cd libiconv-1.14/srclib 修改stdio.in.h文件,打到下面一行: _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 问题解决! (责任编辑:IT) |