[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: new snapshot available: grep-2.5.4.183-9159
From: |
Jim Meyering |
Subject: |
Re: new snapshot available: grep-2.5.4.183-9159 |
Date: |
Thu, 18 Mar 2010 15:07:51 +0100 |
Shiva Iyer wrote:
> Apologies if this is a known issue or expected behaviour. When I run
> configure with "--enable-gcc-warnings" and then do a make, I get the
> following compilation errors for search.c:
>
> CC search.o
> cc1: warnings being treated as errors
> search.c: In function 'Pexecute':
> search.c:774: error: function might be possible candidate for attribute
> 'noreturn' [-Wmissing-noreturn]
>
> No problems with make or make check if I don't use --enable-gcc-warnings.
> Here is what I have for build tools:
Thanks for the report.
That happens when you have not installed the pcre devel. libraries.
On a fedora/Red Hat-based system, do this:
yum install pcre-devel
Once they're installed, you should be warning-free on
a sufficiently modern system, even with --enable-gcc-warnings.