GNU bug report logs - #21554
requesting a new release

Previous Next

Package: grep;

Reported by: Benno Schulenberg <bensberg <at> justemail.net>

Date: Thu, 24 Sep 2015 19:51:02 UTC

Severity: normal

Tags: wontfix

Done: Paul Eggert <eggert <at> cs.ucla.edu>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Paul Eggert <eggert <at> cs.ucla.edu>
To: Benno Schulenberg <bensberg <at> justemail.net>
Cc: 21554 <at> debbugs.gnu.org
Subject: bug#21554: no previous prototype for 'set_binary_mode'
Date: Fri, 25 Sep 2015 12:07:28 -0700
On 09/25/2015 12:40 AM, Benno Schulenberg wrote:
>    CC     argmatch.o
> cc1: warning: command line option "-Wenum-compare" is valid for C++/ObjC++ but not for C
>    CC     binary-io.o
> cc1: warning: command line option "-Wenum-compare" is valid for C++/ObjC++ but not for C
> cc1: warnings being treated as errors
> In file included from binary-io.c:3:
> binary-io.h:53: error: no previous prototype for 'set_binary_mode'
>

Thanks, I managed to reproduce this on an old RHEL 6 server we have.  It 
uses GCC 4.4.7, which is too old for use with --enable-gcc-warnings.  
Please configure without --enable-gcc-warnings and build it that way; it 
should build fine. That is, a plain './configure; make; make check' 
should work.  (Of course you may run into problems with your old buggy 
libpcre, but that's a different story....)

Nowadays I don't recommend RHEL 6 for use when maintaining GNU software, 
as it has too many old versions of development programs (as you already 
discovered for Autoconf).  It's OK to use it to build from distribution 
tarballs, but not for building from git.

I.e., let's not worry about this build-time problem; instead, let's 
focus on the bug report's original grep-2.21 issue, whatever that issue is.




This bug report was last modified 9 years and 47 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.