pg.ddx.io  pgsql-hackers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Alvaro Herrera <alvherre@2ndquadrant.com>
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:34:21 -0400
Message-ID: <2472.1589384061@sss.pgh.pa.us> (raw)
In-Reply-To: <20200513152357.GA5411@alvherre.pgsql>
References: <20200513152357.GA5411@alvherre.pgsql>

Alvaro Herrera <alvherre@2ndquadrant.com> writes:
>> 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.

Let's just go to level 3 overall (and revert the changes you made for
level 4 compliance --- they're more likely to cause back-patching
pain than do anything useful).

			regards, tom lane





view thread (30+ messages)  latest in thread

Message-ID: <2472.1589384061@sss.pgh.pa.us>
Permalink:  ../2472.1589384061@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/2472.1589384061@sss.pgh.pa.us

 · 

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-hackers@postgresql.org
  Cc: tgl@sss.pgh.pa.us, alvherre@2ndquadrant.com, zhihui.fan1213@gmail.com, horikyota.ntt@gmail.com, rjuju123@gmail.com
  Subject: Re: Add "-Wimplicit-fallthrough" to default flags
  In-Reply-To: <2472.1589384061@sss.pgh.pa.us>
  References: <20200513152357.GA5411@alvherre.pgsql> <2472.1589384061@sss.pgh.pa.us>

* 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