pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Kyotaro Horiguchi <horikyota.ntt@gmail.com>
To: zhihui.fan1213@gmail.com
Cc: tgl@sss.pgh.pa.us
Cc: alvherre@2ndquadrant.com
Cc: rjuju123@gmail.com
Cc: pgsql-hackers@lists.postgresql.org
Subject: Re: Add "-Wimplicit-fallthrough" to default flags
Date: Wed, 13 May 2020 19:15:58 +0900 (JST)
Message-ID: <20200513.191558.2288750702883807998.horikyota.ntt@gmail.com> (raw)
In-Reply-To: <CAKU4AWopttFQzHFcz+aZk_2EOVMGa_-12j7RsakHHLJ5bRZdaQ@mail.gmail.com>
References: <7193.1589317971@sss.pgh.pa.us>
	<20200513.171307.166314920588793962.horikyota.ntt@gmail.com>
	<CAKU4AWopttFQzHFcz+aZk_2EOVMGa_-12j7RsakHHLJ5bRZdaQ@mail.gmail.com>

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...

regards.

-- 
Kyotaro Horiguchi
NTT Open Source Software Center





view thread (30+ messages)  latest in thread

Message-ID: <20200513.191558.2288750702883807998.horikyota.ntt@gmail.com>
Permalink:  ../20200513.191558.2288750702883807998.horikyota.ntt@gmail.com/
Also on:    postgresql.org/message-id/20200513.191558.2288750702883807998.horikyota.ntt@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: horikyota.ntt@gmail.com, zhihui.fan1213@gmail.com, tgl@sss.pgh.pa.us, alvherre@2ndquadrant.com, rjuju123@gmail.com, pgsql-hackers@lists.postgresql.org
  Subject: Re: Add "-Wimplicit-fallthrough" to default flags
  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>

* 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