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

From Brandon Maust
Subject Re: plperl failure on OS X 10.5(.1)
Date
Msg-id 35D3317B-6738-47C6-92D8-E6A6B2AD0202@u.washington.edu
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
On 21 Nov, 2007, at 11:38 , Tom Lane wrote:

> Brandon Maust <bmaust@u.washington.edu> writes:
>> yes, it is sucking it in (via handy.h), at least in 10.5:
>
>> #if 1 /* always on Mac OS X */
>> #  include <stdbool.h>
>> #  ifndef HAS_BOOL
>> #    define HAS_BOOL 1
>> #  endif
>> #endif
>
> Nasty.  I'm still surprised that there's no redefinition warning for
> "false" and "true", but that's not too important, since the cast to
> (bool) isn't really critical.  I guess what we need is as attached;
> would you try it and see?

yep, fixes it for me with 8.2.5 and 8.3b3.

everything works even allowing that -arch warning, but it's not the  
clean compiling experience I'm used to from postgresql...

Thanks, Tom.

--
Brandon


pgsql-hackers by date:

Previous
From: Simon Riggs
Date:
Subject: Re: 8.3devel slower than 8.2 under read-only load
Next
From: "Gregory Williamson"
Date:
Subject: Re: 8.3devel slower than 8.2 under read-only load