From: David Steele <david@pgmasters.net>
To: Tom Lane <tgl@sss.pgh.pa.us>
To: Peter Eisentraut <peter_e@gmx.net>
Cc: pgsql-committers@lists.postgresql.org
Subject: Re: pgsql: Fix interaction of Perl and stdbool.h
Date: Fri, 23 Mar 2018 12:19:57 -0400
Message-ID: <2e3048e6-63eb-deff-2e47-f9dfae75ec4a@pgmasters.net> (raw)
In-Reply-To: <3885.1521820150@sss.pgh.pa.us>
References: <E1ezNl7-00064m-1M@gemulon.postgresql.org>
<3885.1521820150@sss.pgh.pa.us>
On 3/23/18 11:49 AM, Tom Lane wrote:
> Peter Eisentraut <peter_e@gmx.net> 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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-committers@postgresql.org
Cc: david@pgmasters.net, tgl@sss.pgh.pa.us, peter_e@gmx.net
Subject: Re: pgsql: Fix interaction of Perl and stdbool.h
In-Reply-To: <2e3048e6-63eb-deff-2e47-f9dfae75ec4a@pgmasters.net>
References: <E1ezNl7-00064m-1M@gemulon.postgresql.org> <3885.1521820150@sss.pgh.pa.us> <2e3048e6-63eb-deff-2e47-f9dfae75ec4a@pgmasters.net>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox