|Subject:||[bug-gsrc] Fwd: Bug in compiling dico|
|Date:||Tue, 26 Apr 2016 00:53:25 -0700|
I have nothing changed. Compiled over 400+ packages in last 10 days, but
few like dico do not work out of the box.
I have gcc 5.3.0. How would I change settings to warning?
On Mon, Apr 25, 2016 at 10:15:08PM -0700, carl hansen wrote:
> On Mon, Apr 25, 2016 at 8:14 AM, Jean Louis <address@hidden> wrote:
> > Hello,
> > Dico is great dictionary tool, and it is GNU software. I have tried
> > contacting the author but it was problem with email.
> > Dico is part of GSRC. So here is the bug below. I need help to compile
> > it, even with patches as dictionary use will be employed in Tanzania,
> > where people do not have Internet connection.
> > Jean Louis
> > ---
> > make: Entering directory '/sources/gnu/dico-2.2/gnu'
> > CC localcharset.o
> > In file included from localcharset.c:30:0:
> > ./stdio.h:479:1: error: ‘gets’ undeclared here (not in a function)
> > _GL_WARN_ON_USE (gets, "gets is a security hole - use fgets instead");
> > ^
> > Makefile:1207: recipe for target 'localcharset.o' failed
> > make: *** [localcharset.o] Error 1
> > Works for me. My ./stdio.h is a little different. Maybe you have setting
> set to change WARNINGs
> into ERRORs, which stops the compilation.
> I'm using gcc 5.3. Which version of gcc are you using?
> You could mess with the source to get around this. "gets()" is now
> deprecated , and it seems
> your problem arises from something having to do with that...
|[Prev in Thread]||Current Thread||[Next in Thread]|