Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cfq3c-00062P-GQ for pgsql-hackers@arkaria.postgresql.org; Mon, 20 Feb 2017 15:39:20 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1cfq3c-0008VQ-25 for pgsql-hackers@arkaria.postgresql.org; Mon, 20 Feb 2017 15:39:20 +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 1cfq2C-00062I-6e for pgsql-hackers@postgresql.org; Mon, 20 Feb 2017 15:37:52 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1cfq25-0003FM-BN for pgsql-hackers@postgresql.org; Mon, 20 Feb 2017 15:37:51 +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 v1KFbfgX011742; Mon, 20 Feb 2017 10:37:41 -0500 From: Tom Lane To: Aleksander Alekseev cc: pgsql-hackers@postgresql.org Subject: Re: [PATCH] Suppress Clang 3.9 warnings In-reply-to: <20170220143430.GE12278@e733.localdomain> References: <20170220141239.GD12278@e733.localdomain> <32373.1487600804@sss.pgh.pa.us> <20170220143430.GE12278@e733.localdomain> Comments: In-reply-to Aleksander Alekseev message dated "Mon, 20 Feb 2017 17:34:30 +0300" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <11740.1487605061.1@sss.pgh.pa.us> Date: Mon, 20 Feb 2017 10:37:41 -0500 Message-ID: <11741.1487605061@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 Aleksander Alekseev writes: > In theory - could we just always use our internal strl* implementations? Hmm, maybe configure's test to see if a declaration has been provided is going wrong? I notice that anchovy, which is supposedly current Arch Linux, doesn't think the platform has it: checking whether strlcat is declared... no checking whether strlcpy is declared... no ... checking for strlcat... no checking for strlcpy... no But that's using gcc. Perhaps clang behaves differently? 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