pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Julien Rouhaud <rjuju123@gmail.com>
To: Kyotaro Horiguchi <horikyota.ntt@gmail.com>
Cc: Andy Fan <zhihui.fan1213@gmail.com>
Cc: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Álvaro Herrera <alvherre@2ndquadrant.com>
Cc: PostgreSQL Hackers <pgsql-hackers@lists.postgresql.org>
Subject: Re: Add "-Wimplicit-fallthrough" to default flags
Date: Wed, 13 May 2020 13:35:18 +0200
Message-ID: <CAOBaU_Y8ke1eFF3WzbNaNpncExfi78Ummf4P375JAwpg5_FUbA@mail.gmail.com> (raw)
In-Reply-To: <20200513.191558.2288750702883807998.horikyota.ntt@gmail.com>
References: <7193.1589317971@sss.pgh.pa.us>
	<20200513.171307.166314920588793962.horikyota.ntt@gmail.com>
	<CAKU4AWopttFQzHFcz+aZk_2EOVMGa_-12j7RsakHHLJ5bRZdaQ@mail.gmail.com>
	<20200513.191558.2288750702883807998.horikyota.ntt@gmail.com>

On Wed, May 13, 2020 at 12:16 PM Kyotaro Horiguchi
<horikyota.ntt@gmail.com> wrote:
>
> At Wed, 13 May 2020 16:17:50 +0800, Andy Fan <zhihui.fan1213@gmail.com> wrote in
> > On Wed, May 13, 2020 at 4:13 PM Kyotaro Horiguchi <horikyota.ntt@gmail.com>
> > wrote:
> > > > jsonpath_gram.c:1026:16: warning: this statement may fall through
> > > [-Wimplicit-fallthrough=]
> > > >              if (*++yyp != '\\')
> > > >                 ^
> > > > jsonpath_gram.c:1029:11: note: here
> > > >            default:
> ...
> > > It is generated code by bison.
> > >
> > > $ bison --version
> > > bison (GNU Bison) 3.0.4
> > >
> > >
> > 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.
>
> Thanks. I'm happy to know that! But AFAICS 3.0.4 is the current
> version of bison in AppStream and PowerTools of CentOS8...

FTR I'm using bison 3.5 and I didn't hit any issue.  However that may
be because of ccache, as mentioned by Alvaro.





view thread (30+ messages)  latest in thread

Message-ID: <CAOBaU_Y8ke1eFF3WzbNaNpncExfi78Ummf4P375JAwpg5_FUbA@mail.gmail.com>
Permalink:  ../CAOBaU_Y8ke1eFF3WzbNaNpncExfi78Ummf4P375JAwpg5_FUbA@mail.gmail.com/
Also on:    postgresql.org/message-id/CAOBaU_Y8ke1eFF3WzbNaNpncExfi78Ummf4P375JAwpg5_FUbA@mail.gmail.com

 · 

reply

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-committers@postgresql.org
  Cc: rjuju123@gmail.com, horikyota.ntt@gmail.com, zhihui.fan1213@gmail.com, tgl@sss.pgh.pa.us, alvherre@2ndquadrant.com, pgsql-hackers@lists.postgresql.org
  Subject: Re: Add "-Wimplicit-fallthrough" to default flags
  In-Reply-To: <CAOBaU_Y8ke1eFF3WzbNaNpncExfi78Ummf4P375JAwpg5_FUbA@mail.gmail.com>
  References: <7193.1589317971@sss.pgh.pa.us> <20200513.171307.166314920588793962.horikyota.ntt@gmail.com> <CAKU4AWopttFQzHFcz+aZk_2EOVMGa_-12j7RsakHHLJ5bRZdaQ@mail.gmail.com> <20200513.191558.2288750702883807998.horikyota.ntt@gmail.com> <CAOBaU_Y8ke1eFF3WzbNaNpncExfi78Ummf4P375JAwpg5_FUbA@mail.gmail.com>

* 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