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.


Reply via email to