From: Tom Lane <tgl@sss.pgh.pa.us>
To: Noah Misch <noah@leadboat.com>
Cc: Aleksander Alekseev <a.alekseev@postgrespro.ru>
Cc: David Steele <david@pgmasters.net>
Cc: PostgreSQL Developers <pgsql-hackers@postgresql.org>
Subject: Re: [PATCH] Suppress Clang 3.9 warnings
Date: Wed, 15 Mar 2017 10:57:15 -0400
Message-ID: <2872.1489589835@sss.pgh.pa.us> (raw)
In-Reply-To: <20170315022538.GA1723554@tornado.leadboat.com>
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>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-hackers>
Noah Misch <noah@leadboat.com> writes:
> On Mon, Mar 13, 2017 at 06:35:53PM +0300, Aleksander Alekseev wrote:
>> + * Unfortunately in case of strlcat and strlcpy we can't trust tests
>> + * executed by Autotools if Clang > 3.6 is used.
> This is wrong on platforms that do have strlcpy() in libc.
Didn't you submit a patch to upstream autoconf awhile ago to fix the
AC_CHECK_DECLS test for this? 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.
regards, tom lane
--
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers
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: tgl@sss.pgh.pa.us, noah@leadboat.com, a.alekseev@postgrespro.ru, david@pgmasters.net
Subject: Re: [PATCH] Suppress Clang 3.9 warnings
In-Reply-To: <2872.1489589835@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>
* 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