Robert Haas <robertmhaas(at)gmail(dot)com> writes:
> On Sat, Feb 18, 2017 at 10:40 PM, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> wrote:
>> It seems like it would be quite simple and reliable to apply a patch
>> that inserts "(void) yyg;" into this function. (Which, indeed, is
>> essentially how flex 2.5.36 and later fixed it.)
> Sounds fine as a master-only fix, but I would vote against back-patching.
Agreed. I see no need to change this in stable branches; having -Werror
everywhere is mainly of value for development.
regards, tom lane