Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cfp5z-0002xm-UG for pgsql-hackers@arkaria.postgresql.org; Mon, 20 Feb 2017 14:37:44 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1cfp5z-0004Ju-ED for pgsql-hackers@arkaria.postgresql.org; Mon, 20 Feb 2017 14:37:43 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1cfp5y-0004Jn-Dq for pgsql-hackers@postgresql.org; Mon, 20 Feb 2017 14:37:42 +0000 Received: from mail.postgrespro.ru ([93.174.131.138]) by makus.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cfp5v-00027k-Nh for pgsql-hackers@postgresql.org; Mon, 20 Feb 2017 14:37:41 +0000 Received: from localhost (localhost [127.0.0.1]) by mail.postgrespro.ru (Postfix) with ESMTP id A9D2721C0703; Mon, 20 Feb 2017 17:37:37 +0300 (MSK) X-Virus-Scanned: Debian amavisd-new at postgrespro.ru Date: Mon, 20 Feb 2017 17:34:30 +0300 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=postgrespro.ru; s=mail; t=1487601457; bh=NyXZvC6hjiVvplCa4ZouL66hJIxQ8KICcEnV0nUFlkU=; h=From:To:Cc:Subject:References:In-Reply-To; b=GVUGV6yscTsIzmAM83oQ0RZKBfroG6P3QMK8EB9j+obQT1Gz4NpP4iDgYrX8FeVF5 55rLzOsMJjCSXm2/znAZrqAQHmj4gdrOg8m7AtwCU4PYLHVRXyMao8ngSM0U2jZrxj fC4rwBCQeqGfsDUD3Z6Lujbk4tRYsijl+jYYhu3I= From: Aleksander Alekseev To: Tom Lane Cc: pgsql-hackers@postgresql.org Subject: Re: [PATCH] Suppress Clang 3.9 warnings Message-ID: <20170220143430.GE12278@e733.localdomain> References: <20170220141239.GD12278@e733.localdomain> <32373.1487600804@sss.pgh.pa.us> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="0rSojgWGcpz+ezC3" Content-Disposition: inline In-Reply-To: <32373.1487600804@sss.pgh.pa.us> User-Agent: Mutt/1.7.2 (2016-11-26) X-Pg-Spam-Score: -2.0 (--) 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 --0rSojgWGcpz+ezC3 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable In theory - could we just always use our internal strl* implementations?=20 On Mon, Feb 20, 2017 at 09:26:44AM -0500, Tom Lane wrote: > Aleksander Alekseev writes: > > I've just tried to build PostgreSQL with Clang 3.9.1 (default version > > currently available in Arch Linux) and noticed that it outputs lots of > > warning messages. Most of them are result of a bug in Clang itself: > >=20 > > postinit.c:846:3: note: include the header or explicitly > > provide a declaration for 'strlcpy' >=20 > It might be an incompatibility with the platform-supplied string.h > rather than an outright bug, but yeah, that's pretty annoying. >=20 > > The rest of warnings looks more like something we could easily deal wit= h: >=20 > It's hard to get excited about these if there are going to be hundreds > of the other ones ... >=20 > regards, tom lane --=20 Best regards, Aleksander Alekseev --0rSojgWGcpz+ezC3 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEECAokn0QZCoIHW4GpEEnCBLXCDtYFAliq/nMACgkQEEnCBLXC DtY4CA//XVVSmr05Tdt4JZZ68eVjK5mm7o+LInYs8CBT/VGNLu3pwcmjf+m3TztL KEHhUgY0ZMK/RDXt3ASFw9VeoM0eaHilTpJxndKKHX6DQOw7KdHEAirFI85Fd5wJ InwjseorHNkLX8oz4b65oHmWwQMDAQQ5EuD5eWJIQf0ZYGxVcHV8Wnd1XWUHhgmV oIuaxk+0BjBi3ULbOn2//XgS7avcmtLGHmRGjHR7525oCK6xQ9hyMbPeoWxJWqrQ 0mttETPEay5FC6S9arIeJOc2GU895XeQsGZGY3XdFSfikxCW7zV9rr1885ECVZ/e QALod41auc9gCi2TadIsh0VbyaWAUk7DcyK2zvMqFVCyIr2pku9Q6fzRujVcXxVe oIOOnZFAKdQX/rowoq4LhbVRbPhaD6480IuCQAj4Ewmtj1BcmxKfEabCqndbZL3y aLVW5ZLDG4XWb6/WxL1lvvWzSmnMDcNK4PHYYHMI4V0/cRUhXDhE0rgiaXShPCZK xZSuk+9URhfzlwkanwIDWHc9wKuTaqbokKPowIiP0MjVM+gLMWsf/wCdA0Y9GDdP dAxZAQvDgIwVM5QveMqFCOeJYtz340cfm/Z5w5lNvyTn0YNI4hgomgekMRgcnG6h DVRCcVykG9ApXIvIiSKYnaT51xZgovh55nMRFDRbvHL2A8T173E= =lcZ6 -----END PGP SIGNATURE----- --0rSojgWGcpz+ezC3--