bug-grep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: avoid gcc 4.6.2 'may be used before set' warnings in dfa.c


From: arnold
Subject: Re: avoid gcc 4.6.2 'may be used before set' warnings in dfa.c
Date: Sun, 26 Feb 2012 01:18:11 -0800

Hi Paul.

> Date: Fri, 24 Feb 2012 17:30:54 -0800
> From: Paul Eggert <address@hidden>
> To: Aharon Robbins <address@hidden>
> CC: address@hidden, address@hidden
> Subject: Re: avoid gcc 4.6.2 'may be used before set' warnings in dfa.c
> Content-Transfer-Encoding: 7bit
>
> How about going with this patch to address this issue in grep's
> source code?  It uses C11's <stdnoreturn.h>, falling back on a
> simple gnulib substitute for pre-C11 compilers.
> If Awk doesn't use gnulib, Awk can use the stdnoreturn.h
> file that this patch builds, which I can email if you like.

It looks like I can just use the code as it is now in grep. I have asked
for compile failures and haven't gotten any.

That will be the simplest thing for me to do, since I don't then need
to add another file to the distribution.

Thank you for the consideration, though!

Arnold



reply via email to

[Prev in Thread] Current Thread [Next in Thread]