Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hEZla-0004wh-F6 for pgsql-committers@arkaria.postgresql.org; Thu, 11 Apr 2019 13:29:22 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1hEZlZ-0003jM-B4 for pgsql-committers@arkaria.postgresql.org; Thu, 11 Apr 2019 13:29:21 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hEZlZ-0003jF-4a for pgsql-committers@lists.postgresql.org; Thu, 11 Apr 2019 13:29:21 +0000 Received: from mail-qt1-x843.google.com ([2607:f8b0:4864:20::843]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hEZlW-0005S4-DI for pgsql-committers@lists.postgresql.org; Thu, 11 Apr 2019 13:29:20 +0000 Received: by mail-qt1-x843.google.com with SMTP id s15so7049488qtn.3 for ; Thu, 11 Apr 2019 06:29:18 -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=KpuXEeoS5+8s4ZxX08Vu7s1Ttjx7T6V9ZpqZrhklE8g=; b=VldCPQmsbJM6y4wfk4hgnWzxJY01yZbhpZCb74yO7ZZANPxzDGgBge+ovdk2SJRgRA Sng1IUeOEOX234OiLCsJgwe5ntE5xqup1/E7/h4BFSWxPgZp49I03gM2X5vC7hqldIFl iBHYCed9NCFr9LjFipxlUVuumhw9u9M5Ig3TQjmxiksEz1t+23U3tRIAypZw3Y/GoBG1 TilmEp/biD4LuIUz7s0otCfERv2cWk6JMIf4Z91iR+l99oHAnVC4SofFqCIr500dPEwo EJyHSfnW/0a7iikzueIZVGcW4mfvWO84l0phF90Qdcag/i1MI0be0sOpx4dCwudfiL+y cwWA== 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=KpuXEeoS5+8s4ZxX08Vu7s1Ttjx7T6V9ZpqZrhklE8g=; b=FV3/vfBvZGF66Sbt8BWAsPtXHd4PTdtdFvoWTWsuTQoy1jegeYiMmizivdK/CeLFFD 3coV65O8uHnfpVW/s/kARUbBjb9zGYrnAxDSuJCg2FVelASWxOvMUyJUuwgBIcVOc5HL v20LUn4r54Hmw28ydTMzcW3ifYLX6IqcSL28AW/8cxlTxGoh/fR5VTCNQYzN/5QWwpAW 3rH2tpCXCv+bSgd6a92fskopbhrYS0MHPn4IggUkhcccp6Wwst1ixAeJ5hg3uJxqxvWc fdY5xzd4jIlUk+cF5xxe4fofV32rZUh9gEKrccS6SIHCi01wJgGMo0gdMjeztI/lYDa4 8TQg== X-Gm-Message-State: APjAAAWQoEc5UdvDGaJh51m/79WPEpQl0pHK1HbGODquY+gx8K6YavlG oN7IveY8DWc7atC7S0VZrKYbjzqZTquUe4OjwjWUjNUuM9pmSE8DW7f6azr0j21BQOIMyCPesqz G2sWwctq8a/TBhYQeGFwyddHI9+ZQ6ie73nA1A3rP1QBtqVQQ74EXuXl9haCHTA0pSd3t5Ll6FV P8yNa8wwgMHawfZrzgig== X-Google-Smtp-Source: APXvYqwvwXj6HhkAWDo4Z+msLrR2I0Qzqu/bhjfQVS7q3C2wGDbMNyEYlNlZWZWnvwHRqHeHEnMoGQ== X-Received: by 2002:aed:3427:: with SMTP id w36mr41430070qtd.54.1554989355677; Thu, 11 Apr 2019 06:29:15 -0700 (PDT) Received: from nimloth.alvh.no-ip.org ([190.121.29.3]) by smtp.gmail.com with ESMTPSA id 188sm20433520qkh.75.2019.04.11.06.29.15 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 11 Apr 2019 06:29:15 -0700 (PDT) Received: by nimloth.alvh.no-ip.org (Postfix, from userid 1000) id 1CA80120BB0; Thu, 11 Apr 2019 09:29:13 -0400 (-04) Date: Thu, 11 Apr 2019 09:29:13 -0400 From: Alvaro Herrera To: Tom Lane Cc: pgsql-committers@lists.postgresql.org Subject: Re: pgsql: Fix declaration after statement Message-ID: <20190411132913.GA20272@alvherre.pgsql> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <13382.1554959119@sss.pgh.pa.us> User-Agent: Mutt/1.9.4 (2018-02-28) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk On 2019-Apr-11, Tom Lane wrote: > Alvaro Herrera writes: > > (My compiler does not complain about it, even though > > -Wdeclaration-after-statement is specified. Weird.) > > longfin's compiler doesn't either (clang-1001.0.46.3). > What are you using? Maybe we should be filing bug reports? gcc (Ubuntu 7.3.0-27ubuntu1~18.04) 7.3.0 under ccache version 3.4.1 -- Álvaro Herrera https://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services