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 1ezPQD-0008CR-0P for pgsql-committers@arkaria.postgresql.org; Fri, 23 Mar 2018 16:20:05 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1ezPQB-0004QO-Pj for pgsql-committers@arkaria.postgresql.org; Fri, 23 Mar 2018 16:20: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 1ezPQB-0004QC-KX for pgsql-committers@lists.postgresql.org; Fri, 23 Mar 2018 16:20:03 +0000 Received: from mail.thelabyrinth.net ([45.56.70.56]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1ezPQ8-0003hT-O3 for pgsql-committers@lists.postgresql.org; Fri, 23 Mar 2018 16:20:03 +0000 Received: from Davids-iMac.local (unknown [173.169.74.224]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: dsteele) by mail.thelabyrinth.net (Postfix) with ESMTPSA id 4EDD75461E; Fri, 23 Mar 2018 16:19:58 +0000 (UTC) Subject: Re: pgsql: Fix interaction of Perl and stdbool.h To: Tom Lane , Peter Eisentraut Cc: pgsql-committers@lists.postgresql.org References: <3885.1521820150@sss.pgh.pa.us> From: David Steele Message-ID: <2e3048e6-63eb-deff-2e47-f9dfae75ec4a@pgmasters.net> Date: Fri, 23 Mar 2018 12:19:57 -0400 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.13; rv:52.0) Gecko/20100101 Thunderbird/52.6.0 MIME-Version: 1.0 In-Reply-To: <3885.1521820150@sss.pgh.pa.us> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk On 3/23/18 11:49 AM, Tom Lane wrote: > Peter Eisentraut writes: >> Fix interaction of Perl and stdbool.h > > Not sure if this broke it or it was already broken, but my compiler > is now very unhappy. > > In file included from /usr/lib64/perl5/CORE/perl.h:2424, > from plperl.h:60, > from SPI.xs:18: > /usr/lib64/perl5/CORE/handy.h:108:1: warning: "bool" redefined One way to fix this is to mark bool as defined in plperl.c: #ifndef HAS_BOOL # define HAS_BOOL 1 #endif Regards, -- -David david@pgmasters.net