Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1ey1hM-0006OO-PW for pgsql-hackers@arkaria.postgresql.org; Mon, 19 Mar 2018 20:48:04 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1ey1hL-0005aM-Px for pgsql-hackers@arkaria.postgresql.org; Mon, 19 Mar 2018 20:48:03 +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.89) (envelope-from ) id 1ey1g1-0001yC-9z for pgsql-hackers@lists.postgresql.org; Mon, 19 Mar 2018 20:46:41 +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.89) (envelope-from ) id 1ey1fy-0000Nf-DM; Mon, 19 Mar 2018 20:46:40 +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 w2JKkWpq009512; Mon, 19 Mar 2018 16:46:32 -0400 From: Tom Lane To: Thomas Munro cc: Terry Phelps , Andres Freund , PostgreSQL Hackers , Michael Meskes Subject: Re: Compile error while building postgresql 10.3 In-reply-to: References: <13506.1521487746@sss.pgh.pa.us> <28853.1521489010@sss.pgh.pa.us> <20180319195451.vxymrucrnxwpbzw3@alap3.anarazel.de> <5850.1521489681@sss.pgh.pa.us> <6487.1521490512@sss.pgh.pa.us> <6865.1521490943@sss.pgh.pa.us> Comments: In-reply-to Thomas Munro message dated "Tue, 20 Mar 2018 09:38:09 +1300" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <9510.1521492392.1@sss.pgh.pa.us> Date: Mon, 19 Mar 2018 16:46:32 -0400 Message-ID: <9511.1521492392@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk Thomas Munro writes: > /usr/local/include/pgtypes_date.h:24:12: note: previous declaration is here > extern int PGTYPESdate_defmt_asc(date *, const char *, char *); > > BTW it looks like 0e1539ba0d0a added const qualifiers to that function > but didn't update the documentation in doc/src/sgml/ecpg.sgml. Good catch, please send a patch. regards, tom lane