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

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

Re: [bug-gnu-libiconv] bug-gnu-libiconv Digest, Vol 71, Issue 1


From: prabhat kanth
Subject: Re: [bug-gnu-libiconv] bug-gnu-libiconv Digest, Vol 71, Issue 1
Date: Sat, 10 May 2014 21:57:35 +0530

Hello Hogren,

Reason of error:The assumption has become faulty, since C11 has dropped gets, and glibc has additionally dropped it for GNU sources after that.This error comes with new gcc toolchain.

Solution: Comment in file srclib/stdio.in.h
_GL_WARN_ON_USE (gets, "gets is a security hole - use fgets instead");
OR you can put this line in macros and don't define the macros while compiling.
Follow this link
https://github.com/opscode/omnibus-software/blob/master/config/patches/libiconv/libiconv-1.14_srclib_stdio.in.h-remove-gets-declarations.patch

Thanks and Regards,
Prabhat Ranjan Kanth
Senior Software Engineer, SRI Delhi
Contact no:-+918505875801

On 10 May 2014 21:30, <address@hidden> wrote:
Send bug-gnu-libiconv mailing list submissions to
        address@hidden

To subscribe or unsubscribe via the World Wide Web, visit
        https://lists.gnu.org/mailman/listinfo/bug-gnu-libiconv
or, via email, send a message with subject or body 'help' to
        address@hidden

You can reach the person managing the list at
        address@hidden

When replying, please edit your Subject line so it is more specific
than "Re: Contents of bug-gnu-libiconv digest..."


Today's Topics:

   1. gets() in stdio.h (Hogren)


----------------------------------------------------------------------

Message: 1
Date: Sat, 10 May 2014 09:33:56 +0200
From: Hogren <address@hidden>
To: address@hidden
Subject: [bug-gnu-libiconv] gets() in stdio.h
Message-ID: <address@hidden>
Content-Type: text/plain; charset=UTF-8; format=flowed

hello,

I have a gentoo machine.

I tried to compile and install libiconv 1.14.
./configure is ok.
When I tried a "make", there was the error :  error: ?gets? undeclared
here (not in a function) - about the line 1010 of the srclib/stdio.h
file.

I adapted this topic to your software :
http://postwarrior.com/openwrt-error-gets-undeclared-here-not-in-a-function/

And all is ok, I could "make" and "make install" without other problem.

So I think there is a lack in you ./configure test-suite or in the
stdio.h code.

Don't hesitate to ask me more information about my system or other
thing.



If you are the time, can you, please, just look at my mails in
gtk-devel-list about a problem I have but I don't know if it's about
mingw, msys, libiconv, or glib :
https://mail.gnome.org/archives/gtk-devel-list/2014-May/msg00009.html



Thank you !

Regards,

Hogren



------------------------------

_______________________________________________
bug-gnu-libiconv mailing list
address@hidden
https://lists.gnu.org/mailman/listinfo/bug-gnu-libiconv


End of bug-gnu-libiconv Digest, Vol 71, Issue 1
***********************************************



--


reply via email to

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