Re: plperl failure on OS X 10.5(.1) - Mailing list pgsql-hackers

From Tom Lane
Subject Re: plperl failure on OS X 10.5(.1)
Date
Msg-id 16291.1195673186@sss.pgh.pa.us
Whole thread Raw
In response to Re: plperl failure on OS X 10.5(.1)  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
I wrote:
> Apparently 5.8.8
> is sucking stdbool.h into the compile where 5.8.6 did not.  Can you
> track down just what the inclusion path is?

I pulled down the perl 5.8.8 sources and cannot find a reference to
stdbool.h anywhere.  What I do find is that "handy.h" defines what
Perl thinks bool is:

#ifndef HAS_BOOL
# if defined(UTS) || defined(VMS)
#  define bool int
# else
#  define bool char
# endif
# define HAS_BOOL 1
#endif

On OSX 10.4 this file is installed in
/System/Library/Perl/5.8.6/darwin-thread-multi-2level/CORE/handy.h

Would you look at what 10.5 has?  I suspect that Apple has modified
their version to force bool to be int as of 10.5.
        regards, tom lane


pgsql-hackers by date:

Previous
From: Brandon Maust
Date:
Subject: Re: plperl failure on OS X 10.5(.1)
Next
From: Tom Lane
Date:
Subject: Re: plperl failure on OS X 10.5(.1)