Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jYtOt-0007XT-SJ for pgsql-hackers@arkaria.postgresql.org; Wed, 13 May 2020 15:34:27 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1jYtOs-0007PJ-DO for pgsql-hackers@arkaria.postgresql.org; Wed, 13 May 2020 15:34:26 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jYtOs-0007PC-6P for pgsql-hackers@lists.postgresql.org; Wed, 13 May 2020 15:34:26 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jYtOq-0004qX-2u for pgsql-hackers@lists.postgresql.org; Wed, 13 May 2020 15:34:25 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.4/8.14.4) with ESMTP id 04DFYLLx002473; Wed, 13 May 2020 11:34:21 -0400 From: Tom Lane To: Alvaro Herrera cc: Andy Fan , Kyotaro Horiguchi , Julien Rouhaud , PostgreSQL Hackers Subject: Re: Add "-Wimplicit-fallthrough" to default flags In-reply-to: <20200513152357.GA5411@alvherre.pgsql> References: <20200513152357.GA5411@alvherre.pgsql> Comments: In-reply-to Alvaro Herrera message dated "Wed, 13 May 2020 11:23:57 -0400" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <2471.1589384061.1@sss.pgh.pa.us> Date: Wed, 13 May 2020 11:34:21 -0400 Message-ID: <2472.1589384061@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk Alvaro Herrera 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