On Fri, Dec 12, 2014 at 7:53 AM, Norihiro Tanaka <[email protected]> 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:

Attachment: 0001-build-avoid-build-failure-with-enable-gcc-warnings-a.patch
Description: Binary data

Reply via email to