Re: pgsql: Fix bogus %name-prefix option syntax in all our Bison files.

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Andres Freund <andres(at)2ndquadrant(dot)com>
Cc: pgsql-hackers(at)postgresql(dot)org, pgsql-committers(at)postgresql(dot)org, Peter Eisentraut <peter_e(at)gmx(dot)net>
Subject: Re: pgsql: Fix bogus %name-prefix option syntax in all our Bison files.
Date: 2014-05-28 23:12:44
Message-ID: 15686.1401318764@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers pgsql-hackers

Andres Freund <andres(at)2ndquadrant(dot)com> writes:
> On 2014-05-28 18:52:22 -0400, Tom Lane wrote:
>> and IMO we should also lobby the Bison people to not emit the
>> deprecation warnings yet.

> That's a good idea. What i've been thinking about is to add
> -Wno-deprecated to the bison rule in the interim. Maybe after a
> configure test for the option. All deprecation warnings so far seem to
> be pretty unhelpful.

Meh. If we just hide them permanently, we're likely to be blindsided
somewhere down the road when they turn a deprecation into an error.

What I was wondering about was if we could modify the .y files when
building with a pre-2.4 bison. It'd be easy enough to fix this with
sed, say.

regards, tom lane

In response to

Responses

Browse pgsql-committers by date

  From Date Subject
Next Message Andres Freund 2014-05-28 23:20:04 Re: [COMMITTERS] pgsql: Fix bogus %name-prefix option syntax in all our Bison files.
Previous Message Andres Freund 2014-05-28 23:02:40 Re: pgsql: Fix bogus %name-prefix option syntax in all our Bison files.

Browse pgsql-hackers by date

  From Date Subject
Next Message Andres Freund 2014-05-28 23:20:04 Re: [COMMITTERS] pgsql: Fix bogus %name-prefix option syntax in all our Bison files.
Previous Message Andres Freund 2014-05-28 23:02:40 Re: pgsql: Fix bogus %name-prefix option syntax in all our Bison files.