From: Alvaro Herrera <alvherre@2ndquadrant.com>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Andy Fan <zhihui.fan1213@gmail.com>
Cc: Kyotaro Horiguchi <horikyota.ntt@gmail.com>
Cc: Julien Rouhaud <rjuju123@gmail.com>
Cc: PostgreSQL Hackers <pgsql-hackers@lists.postgresql.org>
Subject: Re: Add "-Wimplicit-fallthrough" to default flags
Date: Wed, 13 May 2020 11:23:57 -0400
Message-ID: <20200513152357.GA5411@alvherre.pgsql> (raw)
In-Reply-To: <31166.1589378554@sss.pgh.pa.us>
On 2020-May-13, Tom Lane wrote:
> Andy Fan <zhihui.fan1213@gmail.com> writes:
> >> FWIW, I got a warning for jsonpath_gram.c.
>
> Ugh. Confirmed here on Fedora 30 (bison 3.0.5).
Ugh.
> > I just found this just serval minutes ago. Upgrading your bison to the
> > latest version (3.6) is ok. I'd like we have a better way to share this
> > knowledge through. I spend ~30 minutes to troubleshooting this issue.
>
> I fear that is going to mean that we revert this patch.
Or we can filter-out the -Wimplicit-fallthrough, or change to level 3,
for bison-emitted files.
--
Álvaro Herrera https://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-hackers@postgresql.org
Cc: alvherre@2ndquadrant.com, tgl@sss.pgh.pa.us, zhihui.fan1213@gmail.com, horikyota.ntt@gmail.com, rjuju123@gmail.com
Subject: Re: Add "-Wimplicit-fallthrough" to default flags
In-Reply-To: <20200513152357.GA5411@alvherre.pgsql>
References: <31166.1589378554@sss.pgh.pa.us> <20200513152357.GA5411@alvherre.pgsql>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox