Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cfovU-0002K5-Kp for pgsql-hackers@arkaria.postgresql.org; Mon, 20 Feb 2017 14:26:52 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1cfovU-0006t4-7s for pgsql-hackers@arkaria.postgresql.org; Mon, 20 Feb 2017 14:26:52 +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 1cfovT-0006qr-7d for pgsql-hackers@postgresql.org; Mon, 20 Feb 2017 14:26:51 +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 1cfovQ-0001vo-7t for pgsql-hackers@postgresql.org; Mon, 20 Feb 2017 14:26:50 +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 v1KEQiuX032374; Mon, 20 Feb 2017 09:26:44 -0500 From: Tom Lane To: Aleksander Alekseev cc: pgsql-hackers@postgresql.org Subject: Re: [PATCH] Suppress Clang 3.9 warnings In-reply-to: <20170220141239.GD12278@e733.localdomain> References: <20170220141239.GD12278@e733.localdomain> Comments: In-reply-to Aleksander Alekseev message dated "Mon, 20 Feb 2017 17:12:39 +0300" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <32372.1487600804.1@sss.pgh.pa.us> Date: Mon, 20 Feb 2017 09:26:44 -0500 Message-ID: <32373.1487600804@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: > 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: > > postinit.c:846:3: note: include the header or explicitly > provide a declaration for 'strlcpy' It might be an incompatibility with the platform-supplied string.h rather than an outright bug, but yeah, that's pretty annoying. > The rest of warnings looks more like something we could easily deal with: It's hard to get excited about these if there are going to be hundreds of the other ones ... 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