pg.ddx.io  pgsql-hackers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Aleksander Alekseev <a.alekseev@postgrespro.ru>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Noah Misch <noah@leadboat.com>
Cc: David Steele <david@pgmasters.net>
Cc: PostgreSQL Developers <pgsql-hackers@postgresql.org>
Subject: Re: [PATCH] Suppress Clang 3.9 warnings
Date: Fri, 24 Mar 2017 15:52:26 +0300
Message-ID: <20170324125226.GA16830@e733.localdomain> (raw)
In-Reply-To: <6069.1489594881@sss.pgh.pa.us>
References: <20170220141239.GD12278@e733.localdomain>
	<alpine.DEB.2.20.1702221532100.22403@lancre>
	<dc2a33c7-a498-c277-592e-30a9ad8c7926@pgmasters.net>
	<20170313153553.GB2564@e733.localdomain>
	<20170315022538.GA1723554@tornado.leadboat.com>
	<2872.1489589835@sss.pgh.pa.us>
	<20170315160940.GA1961015@tornado.leadboat.com>
	<6069.1489594881@sss.pgh.pa.us>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-hackers>

Hi Tom,

Since no one seems to be particularly excited about this patch I'm
marking it as "Returned with feedback" to save reviewers time.

On Wed, Mar 15, 2017 at 12:21:21PM -0400, Tom Lane wrote:
> Noah Misch <noah@leadboat.com> writes:
> > On Wed, Mar 15, 2017 at 10:57:15AM -0400, Tom Lane wrote:
> >> Seems like the correct solution is to
> >> absorb that fix, either by updating to a newer autoconf release or by
> >> carrying our own version of AC_CHECK_DECLS until they come out with one.
> 
> > As you mention upthread, that Autoconf commit is still newer than every
> > Autoconf release.  (Last release was 58 months ago.)  Altering configure.ac to
> > work around the bug would be reasonable, but it feels heavy relative to the
> > benefit of suppressing some warnings.
> 
> It does seem like rather a lot of work, but I think it's preferable to
> hacking up the coding in port.h.  Mainly because we could booby-trap the
> substitute AC_CHECK_DECLS to make sure we revert it whenever autoconf 2.70
> does materialize (a check on m4_PACKAGE_VERSION, like the one at
> configure.in line 22, ought to do the trick); whereas I do not think
> we'd remember to de-kluge port.h if we kluge around it there.
> 
> I'm fine with leaving it alone, too.
> 
> 			regards, tom lane

-- 
Best regards,
Aleksander Alekseev

Attachments:

  signature.asc (application/pgp-signature, 832B) download

view thread (18+ messages)

Message-ID: <20170324125226.GA16830@e733.localdomain>
Permalink:  ../20170324125226.GA16830@e733.localdomain/
Also on:    postgresql.org/message-id/20170324125226.GA16830@e733.localdomain

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-hackers@postgresql.org
  Cc: a.alekseev@postgrespro.ru, tgl@sss.pgh.pa.us, noah@leadboat.com, david@pgmasters.net
  Subject: Re: [PATCH] Suppress Clang 3.9 warnings
  In-Reply-To: <20170324125226.GA16830@e733.localdomain>
  References: <20170220141239.GD12278@e733.localdomain> <alpine.DEB.2.20.1702221532100.22403@lancre> <dc2a33c7-a498-c277-592e-30a9ad8c7926@pgmasters.net> <20170313153553.GB2564@e733.localdomain> <20170315022538.GA1723554@tornado.leadboat.com> <2872.1489589835@sss.pgh.pa.us> <20170315160940.GA1961015@tornado.leadboat.com> <6069.1489594881@sss.pgh.pa.us> <20170324125226.GA16830@e733.localdomain>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox