On 3/23/18 11:49 AM, Tom Lane wrote: > Peter Eisentraut <pete...@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 da...@pgmasters.net