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 1jYtEr-0007Fi-Vc for pgsql-hackers@arkaria.postgresql.org; Wed, 13 May 2020 15:24:05 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1jYtEq-000496-V6 for pgsql-hackers@arkaria.postgresql.org; Wed, 13 May 2020 15:24:04 +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 1jYtEq-00048z-OE for pgsql-hackers@lists.postgresql.org; Wed, 13 May 2020 15:24:04 +0000 Received: from mail-qk1-x741.google.com ([2607:f8b0:4864:20::741]) by magus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1jYtEo-0007Wl-7l for pgsql-hackers@lists.postgresql.org; Wed, 13 May 2020 15:24:04 +0000 Received: by mail-qk1-x741.google.com with SMTP id n14so17714606qke.8 for ; Wed, 13 May 2020 08:24:02 -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=5ItV2FVxezBAlvCuoggHcZY+AMyfQrxg8BJ1pgup3HY=; b=0xkDA3R5qxr5kWeYkB0EOatJqPOO7i+eENp9C28wsEhw1qDGQ5sk7LesxV6dXp/IVE qQdC+phu7K3XAJaDK04fIUxjFRMqfLPyMdE1+rsYuC9FrLFIOSU8vrSl65Q7QD3lPC4z xoHvBH/uqCnONS7/We3MqTBJ+6g+n09/IbjFDV8M5JY/62fliMc8eveEeLdrje+EH6p2 BXJZn2VbjDdEuoeUEiwjgcJp5JOPjIVb0Bktas3mKjgZOT7suwouGEJynJRtL2wkttl8 lZSVdAnsW2wdOMOtN82RshmcUDrZG5aUfFGX9I08vOrfYHoUFU7LM4O0lwLDj3OMyoB+ nSlw== 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=5ItV2FVxezBAlvCuoggHcZY+AMyfQrxg8BJ1pgup3HY=; b=OieemxMbUUP8mp/UmGrjJhemBtPSQagUecWoIg4MqJZ7MGJbXlmGp0COnIvzXFZzBt /eQnfE1aAeytqq3oZDznHcFXkg4d/ZzbenwchIb+iwRMh6OvzyDyPf1CnfFDg4a2X2oh Xi0I/lctdHLP87b7s7hpdfXesz5vd1bkMJQYcdZKvkqe8ppZvRH2ZzDQNYGdmcXpiyyE qJfBGRp+uwsGHCRRmkccfhCL8FJM9Nk5Gm+pqJlqCY5ZzSkjXxiKJLkQ5cY5pwAFoYFe SpfHq9Xju0PVYUlR9b8iNN90yE+X7pxBQwSBmVkDFZ/wjZD0i7AA+QfxaiOvyo6D9sPR IiDA== X-Gm-Message-State: AOAM532568uUQVpfs6trhI4vs7eTPg21vhU2T66VZSa29qVmCihOMLSu tQQW/Hnjq4M/CIr7VG2TOiwNEg== X-Google-Smtp-Source: ABdhPJxNOyOa+Bc4LrDuMMEc3k75o6ncjI47yky6NEflFc76i2/nEsdt6xB/N7nRMSIrtCD5TXaBtw== X-Received: by 2002:a37:ab17:: with SMTP id u23mr226829qke.142.1589383440582; Wed, 13 May 2020 08:24:00 -0700 (PDT) Received: from nimloth.alvh.no-ip.org ([190.95.18.252]) by smtp.gmail.com with ESMTPSA id 88sm1170106qth.9.2020.05.13.08.23.59 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 13 May 2020 08:23:59 -0700 (PDT) Received: by nimloth.alvh.no-ip.org (Postfix, from userid 1000) id D4B5E3005C3; Wed, 13 May 2020 11:23:57 -0400 (-04) Date: Wed, 13 May 2020 11:23:57 -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: <20200513152357.GA5411@alvherre.pgsql> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <31166.1589378554@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: > Andy Fan writes: > >> FWIW, I got a warning for jsonpath_gram.c. > > Ugh. Confirmed here on Fedora 30 (bison 3.0.5). Ugh. > > 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. > > 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. -- Álvaro Herrera https://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services