[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#19357: [PATCH] grep: fails to build grep on a machine which has no P
From: |
Jim Meyering |
Subject: |
bug#19357: [PATCH] grep: fails to build grep on a machine which has no PCRE with --enable-gcc-warnings |
Date: |
Fri, 12 Dec 2014 08:54:22 -0800 |
On Fri, Dec 12, 2014 at 7:53 AM, Norihiro Tanaka <address@hidden> wrote:
> If a machine has no PCRE, grep fails to build grep on it du to
> -Werror=unused-variable with --enable-gcc-warnings. I found it on
> Fedora 21 (GCC 4.9.2).
>
> $ ./configure --enable-gcc-warnings
>
> $ make
...
> CC pcresearch.o
> pcresearch.c:43:12: error: 'empty_match' defined but not used
> [-Werror=unused-variable]
> static int empty_match[2];
Thank you. I've adjusted your patch (removed NEWS entry, modified commit message
to be more in line with our conventions), and will push shortly:
0001-build-avoid-build-failure-with-enable-gcc-warnings-a.patch
Description: Binary data