Re: pgsql: Fix declaration after statement

From: Alvaro Herrera <alvherre(at)2ndquadrant(dot)com>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: Re: pgsql: Fix declaration after statement
Date: 2019-04-11 13:29:13
Message-ID: 20190411132913.GA20272@alvherre.pgsql
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

On 2019-Apr-11, Tom Lane wrote:

> Alvaro Herrera <alvherre(at)alvh(dot)no-ip(dot)org> 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

In response to

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2019-04-11 13:35:23 Re: pgsql: Fix memory leak in pgbench
Previous Message Michael Paquier 2019-04-11 08:23:48 Re: pgsql: Fix memory leak in pgbench