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 1jYtsJ-0008Sb-Qm for pgsql-hackers@arkaria.postgresql.org; Wed, 13 May 2020 16:04:51 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1jYtsI-0007CG-Oa for pgsql-hackers@arkaria.postgresql.org; Wed, 13 May 2020 16:04:50 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jYtsI-0007C9-DC for pgsql-hackers@lists.postgresql.org; Wed, 13 May 2020 16:04:50 +0000 Received: from mail-qv1-xf43.google.com ([2607:f8b0:4864:20::f43]) by magus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1jYtsF-0007tc-Jj for pgsql-hackers@lists.postgresql.org; Wed, 13 May 2020 16:04:50 +0000 Received: by mail-qv1-xf43.google.com with SMTP id x13so156044qvr.2 for ; Wed, 13 May 2020 09:04:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=2ndquadrant-com.20150623.gappssmtp.com; s=20150623; h=date:from:to:cc:subject:message-id:mime-version:content-disposition :content-transfer-encoding:in-reply-to:user-agent; bh=lGSH0dOfyPiLnmNBhGsAtN4ojSa8CC27ur6UPPf+PNQ=; b=rVB8Xae2VkpTv9tuzDlKXgPmyZ06X/PYNtknkVxso9EsPO2BTSHamkBZDEcIVclO3A Sqdc5F2uEJORHZTSCCVk1vYk9nhXF9JnB/hDD0rsi/Yk84C86iba0nyBbwtp7yWrBw4U Vx2sVyRqPGFvWPrMNgSrlblFG78biOFDuAkruppEyuDCfQHojGXWEhovox7Lu97fs/U1 Sl84Wd6p4RqWADrTEWcP1YHZ5pv16SvozUaO/dUu7du0rt22Lfscv+diC3eT/VtcE6PL EmSGbjg8q1LSojJvko7URzAssWJ9ZHS1l8+sUaLgfmn0mebMZmzdRKF7EapC6lbgd1V+ 4Niw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:mime-version :content-disposition:content-transfer-encoding:in-reply-to :user-agent; bh=lGSH0dOfyPiLnmNBhGsAtN4ojSa8CC27ur6UPPf+PNQ=; b=cYfnhdWwsSgiaHa3ATUFydf5kjvbgWr6vWAfHUf+c+w5iaVdzNSOhmuhV3ngcUc9GF BFZ4Tg1jNM/NgI1IZG5CY9V9E58SmfRjdVsZ+tjxquq90FrTdTSn6oU0HiUYX2VeIS2y H7waS0hvNkrRBDkJPlJwlfxUvDlNMWz1UpPkuIrQ2f0QQI6SNBDK4o8CyxR4WN6uUP39 YssUjkYWdm5/PwwQc02WcyHKH9EwxU1ITWabbDfAcMgJEuV8ZU/PyOXvAbjMlTC35imo I58tiKweb2itNt29TxVj3NeZd9RiTEjnx+Qp1O6QGU4JX2YlC2ZAE/xWAhYNTt7fjLOU mwdg== X-Gm-Message-State: AOAM530GZd4cJSbvG5UNapAK660BJ1tO6CzhWOxzd3eojYt6g0aQ3aZl BcBHvq12gMS+kDgXqC2ZBZtVQg== X-Google-Smtp-Source: ABdhPJw9r9fsTYAUma2IgIgJiBJY9yedMJSf7UrwY5F/oqsNOQy+O66GtfRV/6xJ8RWm8yTP2Tse3A== X-Received: by 2002:a0c:ee64:: with SMTP id n4mr346252qvs.246.1589385885466; Wed, 13 May 2020 09:04:45 -0700 (PDT) Received: from nimloth.alvh.no-ip.org ([190.95.18.252]) by smtp.gmail.com with ESMTPSA id p31sm35934qtf.11.2020.05.13.09.04.42 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 13 May 2020 09:04:42 -0700 (PDT) Received: by nimloth.alvh.no-ip.org (Postfix, from userid 1000) id 5F6113005C3; Wed, 13 May 2020 12:04:40 -0400 (-04) Date: Wed, 13 May 2020 12:04:40 -0400 From: Alvaro Herrera To: Tom Lane Cc: Andy Fan , Kyotaro Horiguchi , Julien Rouhaud , PostgreSQL Hackers Subject: Re: Add "-Wimplicit-fallthrough" to default flags Message-ID: <20200513160440.GA8414@alvherre.pgsql> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <2472.1589384061@sss.pgh.pa.us> User-Agent: Mutt/1.10.1 (2018-07-13) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk On 2020-May-13, Tom Lane wrote: > 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). Ok. -- Álvaro Herrera https://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services