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 1jYoQq-0006po-5S for pgsql-hackers@arkaria.postgresql.org; Wed, 13 May 2020 10:16:08 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1jYoQo-0004on-1f for pgsql-hackers@arkaria.postgresql.org; Wed, 13 May 2020 10:16:06 +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 1jYoQn-0004jq-Oq for pgsql-hackers@lists.postgresql.org; Wed, 13 May 2020 10:16:05 +0000 Received: from mail-pl1-x633.google.com ([2607:f8b0:4864:20::633]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1jYoQl-0002Bj-55 for pgsql-hackers@lists.postgresql.org; Wed, 13 May 2020 10:16:04 +0000 Received: by mail-pl1-x633.google.com with SMTP id g11so3405311plp.1 for ; Wed, 13 May 2020 03:16:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:message-id:to:cc:subject:from:in-reply-to:references :user-agent:mime-version:content-transfer-encoding; bh=ano4j7Snbk3L/fGDUMiVJd9MvIn4ekdU0N6YNPqyVPU=; b=LiJhDsE7dG1zg8KutHUf9GaWJuTF9hlIWDpOCPnJxji5uavzoD5aIuwp72nXJ58F/6 pEuWgegjFkiXEWqoiSHUSaK5UjkS/e9dGK6doiGAfn2V5D9h1WhgEmtP34oHs6a8W0qU w4qCcdBqjQyyrDSjgW6PNy4bR6fPDgzQLfo2FqbxgmpWSj8XqTr4ixNRIRtKgMODPWfu A/mj+gtEoBZloNUFZ8HMce/qzUN5M5nA9530CSU4sfOt/wqOomgquGC0Y+C6T7vxRilQ XanOc0gXbK/gsJGqyB/kC0vYjp5p/IamJVz/DaP7TUrspV3b/qh18O9uVVqFXREkLQCu Y7OA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:message-id:to:cc:subject:from:in-reply-to :references:user-agent:mime-version:content-transfer-encoding; bh=ano4j7Snbk3L/fGDUMiVJd9MvIn4ekdU0N6YNPqyVPU=; b=EpFTdLWGF+4Uq7yADbyIIwklRwFbz0w6KRpC4V/73fvzRXR3DiTbR3t6DQ5bJh/NJo RjmuJHXyTZc/03uWUBoFTdxooqVZ4UjnOE5U5DZoLnBM3sXNosiV9Zg4ERgxLqX+e060 6K4riIJTzVNY118stx++Hy9VyT7jBontVH2ewBzpxrEQrgB6BOk/su64iIebRn/tiCaj 3QVvvl9ciYgrOBfLf0Ix4lutduEmsESVy66C7jBHlHXeXwaomRCfhofRYO6Z4xC3mzbP hlQM009w1QQ1DsRY6dx7zxlwfJL2wKNhvPAly4Q1D8Qi1uyt6yGsAAWdckduKUjTRx89 bTMw== X-Gm-Message-State: AGi0PuZ+m2V90gtmAJyf95/9NsdpZfNcPTfCVtp0PLrAZMbJSYR2qcIs uZbk29+qN/fiOEZHaZ2eFtE= X-Google-Smtp-Source: APiQypIfK+jCJKE8L4BQ1o3cltZBRSwMhte8nVOi+AmXdqCxjOZM2o8Mz62Au4p0DTLn2Wfh4EeUJQ== X-Received: by 2002:a17:902:103:: with SMTP id 3mr24450577plb.325.1589364962032; Wed, 13 May 2020 03:16:02 -0700 (PDT) Received: from localhost (ag027197.dynamic.ppp.asahi-net.or.jp. [157.107.27.197]) by smtp.gmail.com with ESMTPSA id 3sm14500011pfo.27.2020.05.13.03.15.59 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 13 May 2020 03:16:01 -0700 (PDT) Date: Wed, 13 May 2020 19:15:58 +0900 (JST) Message-Id: <20200513.191558.2288750702883807998.horikyota.ntt@gmail.com> To: zhihui.fan1213@gmail.com Cc: tgl@sss.pgh.pa.us, alvherre@2ndquadrant.com, rjuju123@gmail.com, pgsql-hackers@lists.postgresql.org Subject: Re: Add "-Wimplicit-fallthrough" to default flags From: Kyotaro Horiguchi In-Reply-To: References: <7193.1589317971@sss.pgh.pa.us> <20200513.171307.166314920588793962.horikyota.ntt@gmail.com> User-Agent: Mew version 6.8 on Emacs 26.1 Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk At Wed, 13 May 2020 16:17:50 +0800, Andy Fan wrote in > On Wed, May 13, 2020 at 4:13 PM Kyotaro Horiguchi > 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