Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1coBg7-0005hE-KL for pgsql-hackers@arkaria.postgresql.org; Wed, 15 Mar 2017 16:21:35 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1coBg6-0004jA-Tx for pgsql-hackers@arkaria.postgresql.org; Wed, 15 Mar 2017 16:21:34 +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_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1coBg5-0004eu-FU for pgsql-hackers@postgresql.org; Wed, 15 Mar 2017 16:21:33 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1coBg0-0006fl-Vc for pgsql-hackers@postgresql.org; Wed, 15 Mar 2017 16:21:32 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.4/8.14.4) with ESMTP id v2FGLLQA006070; Wed, 15 Mar 2017 12:21:21 -0400 From: Tom Lane To: Noah Misch cc: Aleksander Alekseev , David Steele , PostgreSQL Developers Subject: Re: [PATCH] Suppress Clang 3.9 warnings In-reply-to: <20170315160940.GA1961015@tornado.leadboat.com> References: <20170220141239.GD12278@e733.localdomain> <20170313153553.GB2564@e733.localdomain> <20170315022538.GA1723554@tornado.leadboat.com> <2872.1489589835@sss.pgh.pa.us> <20170315160940.GA1961015@tornado.leadboat.com> Comments: In-reply-to Noah Misch message dated "Wed, 15 Mar 2017 12:09:40 -0400" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <6068.1489594881.1@sss.pgh.pa.us> Content-Transfer-Encoding: quoted-printable Date: Wed, 15 Mar 2017 12:21:21 -0400 Message-ID: <6069.1489594881@sss.pgh.pa.us> X-Pg-Spam-Score: -1.9 (-) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-hackers Precedence: bulk Sender: pgsql-hackers-owner@postgresql.org Noah Misch 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 t= he > 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 --=20 Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers