[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug-gnu-libiconv] Error building libiconv-1.14 with gcc 6.2.1
From: |
Benson Muite |
Subject: |
[bug-gnu-libiconv] Error building libiconv-1.14 with gcc 6.2.1 |
Date: |
Tue, 15 Nov 2016 18:07:12 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.4.0 |
Hi,
Am trying to build libiconv 1.14 on fedora 24 using gcc 6.2.1 and get
the following error (libiconv 1.13.1 builds successfully):
gcc -DHAVE_CONFIG_H -DEXEEXT=\"\" -I. -I.. -I../lib -I../intl
-DDEPENDS_ON_LIBICONV=1 -DDEPENDS_ON_LIBINTL=1 -g -O2 -c progname.c
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");
^
Makefile:914: recipe for target 'progname.o' failed
make[2]: *** [progname.o] Error 1
Thanks,
Benson
- [bug-gnu-libiconv] Error building libiconv-1.14 with gcc 6.2.1,
Benson Muite <=