bug-gnu-libiconv
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [bug-gnu-libiconv] libiconv 1.14 fails to build in gcc 4.9.2


From: Bruno Haible
Subject: Re: [bug-gnu-libiconv] libiconv 1.14 fails to build in gcc 4.9.2
Date: Sat, 01 Oct 2016 17:09:56 +0200
User-agent: KMail/4.8.5 (Linux/3.8.0-44-generic; KDE/4.8.5; x86_64; ; )

John Darrington wrote on 2016-04-03:
> Building libiconv 1.14 with gcc 4.9.2 I get the following:
> 
> 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 for the report. This has been fixed in gnulib, meanwhile:
http://lists.gnu.org/archive/html/bug-gnulib/2012-03/msg00186.html

Btw, for most uses of iconv, on glibc systems, you can use the iconv that
is part of glibc.

Bruno




reply via email to

[Prev in Thread] Current Thread [Next in Thread]